Main Page
Modules
Data Structures
Reading the state of the keyboard
bx_get_autorepeat
bx_key_number
bx_keycode_pressed
bx_keycode_to_keyname
bx_keyname_pressed
bx_keyname_to_keycode
bx_keynames
bx_read_key
bx_set_autorepeat
int bx_key_number
(
bx_key
key
)
Gets the number of key that are pressed in a given keyboard snapshot.
Parameters:
key
a snapshot of the keyboard returned by
bx_read_key()
.
Returns:
the number of keys that are pressed in the snapshot.
Generated on Fri Oct 10 00:01:00 2008 for bx-lib : the Basic X11 Library tuned for C beginners by
1.5.6