Tscope5
|
Definitions of keyboard functions. More...
Go to the source code of this file.
Functions | |
Response registration | |
int | ts5_define_keyboard_button (int button) |
Define a keyboard button as a response button. More... | |
int | ts5_get_num_keyboard_buttons () |
Get the number of buttons available on the keyboard. More... | |
Definitions of keyboard functions.
Definition in file keyboard.c.
int ts5_define_keyboard_button | ( | int | button | ) |
Define a keyboard button as a response button.
button | Number of the button (buttons are counted from 1). |
Possible button values are:
Give a positive number if you want to monitor button press events, a negative number if you want to monitor button release events.
Definition at line 88 of file keyboard.c.
int ts5_get_num_keyboard_buttons | ( | ) |
Get the number of buttons available on the keyboard.
This value is constant, irrespective of the actual number of buttons on the keyboard.
Definition at line 151 of file keyboard.c.