Defines | |
#define | KEY_SECTION1 0x100 |
#define | KEY_SECTION2 0x101 |
#define | KEY_SECTION3 0x102 |
#define | KEY_SECTION4 0x103 |
#define | KEY_SECTION5 0x104 |
#define | KEY_SECTION6 0x105 |
#define | KEY_SECTION7 0x106 |
#define | KEY_ESC 0x107 |
#define | KEY_LEFT 0x108 |
#define | KEY_UP 0x109 |
#define | KEY_RIGHT 0x10A |
#define | KEY_DOWN 0x10B |
#define | KEY_INS 0x10C |
#define | KEY_DEL 0x10D |
#define | KEY_TAB 0x10E |
#define | KEY_SELECT 0x10F |
#define | KEY_ENTER 0x110 |
#define | KEY_BACKSPACE 0x111 |
#define | KEY_HELP 0x112 |
#define | KEY_SHIFT 0x113 |
#define | KEY_CONTROL 0x114 |
#define | KEY_CY 133 |
#define | KEY_SPACE 0x20 |
#define | KEY_0 0x30 |
#define | KEY_1 0x31 |
#define | KEY_2 0x32 |
#define | KEY_3 0x33 |
#define | KEY_4 0x34 |
#define | KEY_5 0x35 |
#define | KEY_6 0x36 |
#define | KEY_7 0x37 |
#define | KEY_8 0x38 |
#define | KEY_9 0x39 |
#define | KEY_QUOTE 0x27 |
#define | KEY_COMMA 0x2C |
#define | KEY_MINUS 0x2D |
#define | KEY_PERIOD 0x2E |
#define | KEY_SLASH 0x2F |
#define | KEY_SEMICOLON 0x3B |
#define | KEY_BACKSLASH 0x5C |
#define | KEY_EQUAL 0x3D |
#define | KEY_OPEN_SBRACKET 0x5B |
#define | KEY_CLOSE_SBRACKET 0x5D |
#define | KEY_BACKQUOTE 0x60 |
#define | KEY_A 0x61 |
#define | KEY_B 0x62 |
#define | KEY_C 0x63 |
#define | KEY_D 0x64 |
#define | KEY_E 0x65 |
#define | KEY_F 0x66 |
#define | KEY_G 0x67 |
#define | KEY_H 0x68 |
#define | KEY_I 0x69 |
#define | KEY_J 0x6A |
#define | KEY_K 0x6B |
#define | KEY_L 0x6C |
#define | KEY_M 0x6D |
#define | KEY_N 0x6E |
#define | KEY_O 0x6F |
#define | KEY_P 0x70 |
#define | KEY_Q 0x71 |
#define | KEY_R 0x72 |
#define | KEY_S 0x73 |
#define | KEY_T 0x74 |
#define | KEY_U 0x75 |
#define | KEY_V 0x76 |
#define | KEY_W 0x77 |
#define | KEY_X 0x78 |
#define | KEY_Y 0x79 |
#define | KEY_Z 0x7A |
Typedefs | |
typedef int | click_kind_t |
Functions | |
bool | get_clicks_enabled (void) |
void | set_clicks_enabled (bool enable) |
void | disable_key_click (int *ptr_key_list, int key_count) |
time_t | last_key_time (void) |
click_kind_t | get_click_kind (void) |
void | set_click_kind (click_kind_t kind) |
bool | is_sticking_keys_enabled (void) |
void | enable_sticking_keys (bool enable) |
bool | enable_function_keys (bool enable) |
Compounds | ||
struct | DirectKeyboard | A DirectKeyboard object scans the Cybiko computer's keyboard to determine what keys the user has pressed |
Some structures, functions and defines for work with keyboard. We recommend that you look at DirectKeyboard structure. It's more difficult, but it's a more effective way to handle keyboard input (the easy way is to just process respective Message's).
|
0 key. |
|
1 key. |
|
2 key. |
|
3 key. |
|
4 key. |
|
5 key. |
|
6 key. |
|
7 key. |
|
8 key. |
|
9 key. |
|
A key. |
|
B key. |
|
` key. |
|
\ key. |
|
Backspace, move left and delete. |
|
C key. |
|
] key. |
|
, key. |
|
Fn ( "alternative function" ) key. |
|
CY sign (Fn+C). |
|
D key. |
|
Delete/No, 2-nd big key. |
|
Down ( joystick, arrow key ). |
|
E key. |
|
Enter, 5-th big key. |
|
= key. |
|
Escape/Backspace ( upper left corner ). |
|
F key. |
|
G key. |
|
H key. |
|
Help key, in the upper-left corner of the case. |
|
I key. |
|
Insert/Yes, 1-st big key. |
|
J key. |
|
K key. |
|
L key. |
|
Left ( joystick, arrow key ). |
|
M key. |
|
"-" key. |
|
N key. |
|
O key. |
|
[ key. |
|
P key. |
|
"." key. |
|
Q key. |
|
' key. |
|
R key. |
|
Right ( joystick, arrow key ). |
|
S key. |
|
Hot key for section Main Menu. |
|
Hot key for section Chat. |
|
Hot key for section People. |
|
Hot key for section Applications. |
|
Hot key for section Games. |
|
Hot key for section Labyrinth. |
|
Hot key for section CyLandia. |
|
Select, 4-th big key. |
|
; key. |
|
Shift ( "upper case" ) key. |
|
/ key. |
|
Space key. |
|
T key. |
|
Tab/Switch, 3-rd big key. |
|
U key. |
|
Up ( joystick, arrow key ). |
|
V key. |
|
W key. |
|
X key. |
|
Y key. |
|
Z key. |
|
Keyboard click sound.
|
|
Disables the click sound for the keys specified, enables the click sound for the rest keys.
|
|
Enables or disables function key processing.
|
|
Enables or disables "sticking keys" option.
|
|
Returns current kind of click sound.
|
|
Returns state of a key clicks prohibition.
|
|
Returns TRUE if "sticking keys" option is enabled.
|
|
Returns the time (in the time_t format) of the last keystroke.
|
|
Sets current kind of click sound.
|
|
Disables or enables keyboard clicks.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |