#include <OVR_KeyCodes.h>
Public Types | |
| enum | { Key_ShiftPressed = 0x01, Key_CtrlPressed = 0x02, Key_AltPressed = 0x04, Key_MetaPressed = 0x08, Key_CapsToggled = 0x10, Key_NumToggled = 0x20, Key_ScrollToggled = 0x40, Initialized_Bit = 0x80, Initialized_Mask = 0xFF } |
Public Member Functions | |
| bool | IsAltPressed () const |
| bool | IsCapsToggled () const |
| bool | IsCtrlPressed () const |
| bool | IsInitialized () const |
| bool | IsMetaPressed () const |
| bool | IsNumToggled () const |
| bool | IsScrollToggled () const |
| bool | IsShiftPressed () const |
| KeyModifiers () | |
| KeyModifiers (unsigned char st) | |
| void | Reset () |
| void | SetAltPressed (bool v=true) |
| void | SetCapsToggled (bool v=true) |
| void | SetCtrlPressed (bool v=true) |
| void | SetMetaPressed (bool v=true) |
| void | SetNumToggled (bool v=true) |
| void | SetScrollToggled (bool v=true) |
| void | SetShiftPressed (bool v=true) |
Public Attributes | |
| unsigned char | States |
Definition at line 158 of file OVR_KeyCodes.h.
| anonymous enum |
| Key_ShiftPressed | |
| Key_CtrlPressed | |
| Key_AltPressed | |
| Key_MetaPressed | |
| Key_CapsToggled | |
| Key_NumToggled | |
| Key_ScrollToggled | |
| Initialized_Bit | |
| Initialized_Mask |
Definition at line 161 of file OVR_KeyCodes.h.
| OVR::KeyModifiers::KeyModifiers | ( | ) | [inline] |
Definition at line 176 of file OVR_KeyCodes.h.
| OVR::KeyModifiers::KeyModifiers | ( | unsigned char | st | ) | [inline] |
Definition at line 177 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsAltPressed | ( | ) | const [inline] |
Definition at line 183 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsCapsToggled | ( | ) | const [inline] |
Definition at line 185 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsCtrlPressed | ( | ) | const [inline] |
Definition at line 182 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsInitialized | ( | ) | const [inline] |
Definition at line 197 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsMetaPressed | ( | ) | const [inline] |
Definition at line 184 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsNumToggled | ( | ) | const [inline] |
Definition at line 186 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsScrollToggled | ( | ) | const [inline] |
Definition at line 187 of file OVR_KeyCodes.h.
| bool OVR::KeyModifiers::IsShiftPressed | ( | ) | const [inline] |
Definition at line 181 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::Reset | ( | ) | [inline] |
Definition at line 179 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::SetAltPressed | ( | bool | v = true | ) | [inline] |
Definition at line 191 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::SetCapsToggled | ( | bool | v = true | ) | [inline] |
Definition at line 193 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::SetCtrlPressed | ( | bool | v = true | ) | [inline] |
Definition at line 190 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::SetMetaPressed | ( | bool | v = true | ) | [inline] |
Definition at line 192 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::SetNumToggled | ( | bool | v = true | ) | [inline] |
Definition at line 194 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::SetScrollToggled | ( | bool | v = true | ) | [inline] |
Definition at line 195 of file OVR_KeyCodes.h.
| void OVR::KeyModifiers::SetShiftPressed | ( | bool | v = true | ) | [inline] |
Definition at line 189 of file OVR_KeyCodes.h.
| unsigned char OVR::KeyModifiers::States |
Definition at line 174 of file OVR_KeyCodes.h.