A class representing a key from the keyboard.
![]() | Value All possible keyboard values (codes representing each key on a "normalised" keyboard) |
![]() | Modifiers All the possible modifiers to the key values specified above. |
![]() | PKeyCode ( Value theValue = NullValue, int theMods = NoModifier ) Create a new key code representation. |
![]() | Clone () const Create a copy of the key code. |
![]() | Compare ( const PObject & obj ) const Determine the relative rank of the key codes. |
![]() | GetValue () const Get the value part of the key code. |
![]() | GetModifiers () const Get the modifiers part of the key code. |
![]() | IsModifier ( int modmask ) const Determine if any of the the specified modifier(s) are set. |
![]() | Overrides from class PObject |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
A class representing a key from the keyboard. This virtualises the key into a platform independent form that removes as far as possible the variations in keyboards and layouts.Note that not all key values and modifiers may be generated by all target platforms.
enum Modifiers
NoModifier
Shift
Control
Alt
Command
Option
CapsLock
Accelerator1
Accelerator2
LeftMouseButton
PKeyCode( Value theValue = NullValue, int theMods = NoModifier )
theMods - Modifiers present for key code. Overrides from class PObject
virtual PObject* Clone() const
virtual Comparison Compare( const PObject & obj ) const
Value GetValue() const
int GetModifiers() const
BOOL IsModifier( int modmask ) const
Alphabetic index HTML hierarchy of classes or Java