Support Forum G3D Web Page |
Symbolic key structure. More...
Public Member Functions | |
void | deserialize (G3D::BinaryInput &b) |
void | serialize (G3D::BinaryOutput &b) const |
Public Attributes | |
GKeyMod::Value | mod |
Current key modifiers. More... | |
uint8 | scancode |
Hardware specific scancode. More... | |
GKey::Value | sym |
G3D virtual raw key code. More... | |
uint16 | unicode |
Translated character. More... | |
Symbolic key structure.
|
inline |
|
inline |
GKeyMod::Value G3D::GKeySym::mod |
Current key modifiers.
Referenced by deserialize(), and serialize().
uint8 G3D::GKeySym::scancode |
Hardware specific scancode.
Should not be used by general applications. If no hardware scancode is available, it will be 0.
Referenced by deserialize(), and serialize().
GKey::Value G3D::GKeySym::sym |
G3D virtual raw key code.
Referenced by deserialize(), and serialize().
uint16 G3D::GKeySym::unicode |
Translated character.
If non-zero, this is a UNICODE character corresponding to the keypress. If the high 9 bits of the character are 0, then this maps to the equivalent ASCII character:
char ch; if ( (keysym.unicode & 0xFF80) == 0 ) { ch = keysym.unicode & 0x7F; } else { An international character.. }
Referenced by deserialize(), and serialize().