Macaw OS C reference

Function keysp

#include <macaw.h>
int keysp(void);

Makes a list of every key that went down or repeated this frame. Read the names from it with keyspname.

Parameters

It takes nothing.

Returns int

How many keys are in the list.

In The keyboard and mouse, with btn, btnp, mouse, textinput, keyspname.