#include <winkeys.h>
Data Fields | |
unsigned | keycode: 8 |
The keycode for the key that was typed. | |
char | ascii |
The ASCII equivalent of the key that was typed. | |
unsigned | lshift: 2 |
State of the left shift key. | |
unsigned | rshift: 2 |
State of the right shift key. | |
unsigned | alpha: 2 |
State of the right shift key. |
This data structure contains information about a key that was typed.
Definition at line 175 of file winkeys.h.
unsigned win_keytyped_t::keycode |
unsigned win_keytyped_t::lshift |
State of the left shift key.
This field represents the state of the left shift key when this key was typed. It is set to one of WIN_KEYSTATE_ON, WIN_KEYSTATE_OFF, or WIN_KEYSTATE_PRESSED.
unsigned win_keytyped_t::rshift |
State of the right shift key.
This field represents the state of the right shift key when this key was typed. It is set to one of WIN_KEYSTATE_ON, WIN_KEYSTATE_OFF, or WIN_KEYSTATE_PRESSED.
unsigned win_keytyped_t::alpha |
State of the right shift key.
This field represents the state of the alpha key when this key was typed. It is set to one of WIN_KEYSTATE_ON, WIN_KEYSTATE_OFF, WIN_KEYSTATE_LOCK, or WIN_KEYSTATE_PRESSED.