|
||
TEventModifier
Modifier flags for a key or pointer event.
The modifier flags for a key event are held in TKeyEvent::iModifiers.
The modifier flags for a pointer event are held in TPointerEvent::iModifiers.
|
TModifierState
Specifies the state of an event modifier, for instance Caps Lock or Num Lock.
Event modifiers are enumerated in TEventModifier. The modifier state can be set using RWsSession::SetModifierState().
|
TStdScanCode
Scan codes for the physical keys found on keyboards.
When processing a TKeyEvent, the TStdScanCode in TKeyEvent::iScanCode should usually be ignored in favour of the TKeyCode in TKeyEvent::iCode.
Using iScanCode would bypass the keyboard mapping and any FEP that happens to be installed. The exceptions to this general rule are games where the positions of the keys are more important than their translations, and FEPs that are implementing keyboard maps themselves. In these cases, if the iCode is used rather than iScanCode to determine the key pressed, there will be two unfortunate consequences. First, the low-level keyboard mapping might re-arrange the mapping that you are trying to impose. Second, you will subvert the CTRL+number method of entering Unicode literals.
|
TKeyCode
Codes generated by non-ASCII key presses.
A key event's character code is held in TKeyEvent::iCode.
|