#include <Key.h>
|
| | CKey (void) |
| |
| | CKey (uint32_t buttonCode, uint8_t leftTrigger=0, uint8_t rightTrigger=0, float leftThumbX=0.0f, float leftThumbY=0.0f, float rightThumbX=0.0f, float rightThumbY=0.0f, float repeat=0.0f) |
| |
| | CKey (uint32_t buttonCode, unsigned int held) |
| |
| | CKey (uint32_t keycode, uint8_t vkey, wchar_t unicode, char ascii, uint32_t modifiers, uint32_t lockingModifiers, unsigned int held) |
| |
| | CKey (const CKey &key) |
| |
| void | Reset () |
| |
| virtual | ~CKey (void) |
| |
| CKey & | operator= (const CKey &key) |
| |
| uint8_t | GetLeftTrigger () const |
| |
| uint8_t | GetRightTrigger () const |
| |
| float | GetLeftThumbX () const |
| |
| float | GetLeftThumbY () const |
| |
| float | GetRightThumbX () const |
| |
| float | GetRightThumbY () const |
| |
| float | GetRepeat () const |
| |
| bool | FromKeyboard () const |
| |
| bool | IsAnalogButton () const |
| |
| bool | IsIRRemote () const |
| |
| void | SetFromService (bool fromService) |
| |
| bool | GetFromService () const |
| |
| uint32_t | GetButtonCode () const |
| |
| uint32_t | GetKeycode () const |
| |
| uint8_t | GetVKey () const |
| |
| wchar_t | GetUnicode () const |
| |
| char | GetAscii () const |
| |
| uint32_t | GetModifiers () const |
| |
| uint32_t | GetLockingModifiers () const |
| |
| unsigned int | GetHeld () const |
| |
◆ Modifier
| Enumerator |
|---|
| MODIFIER_CTRL | |
| MODIFIER_SHIFT | |
| MODIFIER_ALT | |
| MODIFIER_RALT | |
| MODIFIER_SUPER | |
| MODIFIER_META | |
| MODIFIER_LONG | |
| MODIFIER_NUMLOCK | |
| MODIFIER_CAPSLOCK | |
| MODIFIER_SCROLLLOCK | |
◆ CKey() [1/5]
◆ CKey() [2/5]
| CKey::CKey |
( |
uint32_t |
buttonCode, |
|
|
uint8_t |
leftTrigger = 0, |
|
|
uint8_t |
rightTrigger = 0, |
|
|
float |
leftThumbX = 0.0f, |
|
|
float |
leftThumbY = 0.0f, |
|
|
float |
rightThumbX = 0.0f, |
|
|
float |
rightThumbY = 0.0f, |
|
|
float |
repeat = 0.0f |
|
) |
| |
◆ CKey() [3/5]
| CKey::CKey |
( |
uint32_t |
buttonCode, |
|
|
unsigned int |
held |
|
) |
| |
◆ CKey() [4/5]
| CKey::CKey |
( |
uint32_t |
keycode, |
|
|
uint8_t |
vkey, |
|
|
wchar_t |
unicode, |
|
|
char |
ascii, |
|
|
uint32_t |
modifiers, |
|
|
uint32_t |
lockingModifiers, |
|
|
unsigned int |
held |
|
) |
| |
◆ CKey() [5/5]
| CKey::CKey |
( |
const CKey & |
key | ) |
|
◆ ~CKey()
◆ FromKeyboard()
| bool CKey::FromKeyboard |
( |
| ) |
const |
◆ GetAscii()
| char CKey::GetAscii |
( |
| ) |
const |
|
inline |
◆ GetButtonCode()
| uint32_t CKey::GetButtonCode |
( |
| ) |
const |
|
inline |
◆ GetFromService()
| bool CKey::GetFromService |
( |
| ) |
const |
|
inline |
◆ GetHeld()
| unsigned int CKey::GetHeld |
( |
| ) |
const |
|
inline |
◆ GetKeycode()
| uint32_t CKey::GetKeycode |
( |
| ) |
const |
|
inline |
◆ GetLeftThumbX()
| float CKey::GetLeftThumbX |
( |
| ) |
const |
◆ GetLeftThumbY()
| float CKey::GetLeftThumbY |
( |
| ) |
const |
◆ GetLeftTrigger()
| uint8_t CKey::GetLeftTrigger |
( |
| ) |
const |
◆ GetLockingModifiers()
| uint32_t CKey::GetLockingModifiers |
( |
| ) |
const |
|
inline |
◆ GetModifiers()
| uint32_t CKey::GetModifiers |
( |
| ) |
const |
|
inline |
◆ GetRepeat()
| float CKey::GetRepeat |
( |
| ) |
const |
◆ GetRightThumbX()
| float CKey::GetRightThumbX |
( |
| ) |
const |
◆ GetRightThumbY()
| float CKey::GetRightThumbY |
( |
| ) |
const |
◆ GetRightTrigger()
| uint8_t CKey::GetRightTrigger |
( |
| ) |
const |
◆ GetUnicode()
| wchar_t CKey::GetUnicode |
( |
| ) |
const |
|
inline |
◆ GetVKey()
◆ IsAnalogButton()
| bool CKey::IsAnalogButton |
( |
| ) |
const |
◆ IsIRRemote()
| bool CKey::IsIRRemote |
( |
| ) |
const |
◆ operator=()
| CKey & CKey::operator= |
( |
const CKey & |
key | ) |
|
◆ Reset()
◆ SetFromService()
| void CKey::SetFromService |
( |
bool |
fromService | ) |
|
The documentation for this class was generated from the following files: