Sack Library Documentation
|
typedef struct keyboard_tag KEYBOARD; typedef struct keyboard_tag * PKEYBOARD; struct keyboard_tag { char keyupdown[NUM_KEYS]; char keydouble[NUM_KEYS]; unsigned int keytime[NUM_KEYS]; unsigned char key[NUM_KEYS]; };
Members |
Description |
char keyupdown[NUM_KEYS]; |
one byte index... more than sufficient if character in array is '1' key is down, '2' key is up. |
char keydouble[NUM_KEYS]; |
Indicator that the key is a double-tap, not just a single. "!! is different that "!" "! |
unsigned int keytime[NUM_KEYS]; |
time of the last key event |
unsigned char key[NUM_KEYS]; |
I'm not sure, maybe it's the printable key char? |
This is record sack::image::render::keyboard::keyboard_tag.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|