Device items enumerations. More...
Functions | |
| const Enum< InputDeviceType > & | Murl::IEnums::GetInputDeviceTypeEnum () |
| Get the InputDeviceType enumeration string mapping. More... | |
| const Enum< ButtonState > & | Murl::IEnums::GetButtonStateEnum () |
| Get the ButtonState enumeration string mapping. More... | |
| const Enum< MouseButton > & | Murl::IEnums::GetMouseButtonEnum () |
| Get the MouseButton enumeration string mapping. More... | |
| const Enum< KeyCode > & | Murl::IEnums::GetKeyCodeEnum () |
| Get the KeyCode enumeration string mapping. More... | |
| const Enum< GameControllerControl > & | Murl::IEnums::GetGameControllerControlEnum () |
| Get the GameControllerControl enumeration string mapping. More... | |
| const Enum< GameControllerButton > & | Murl::IEnums::GetGameControllerButtonEnum () |
| Get the GameControllerButton enumeration string mapping. More... | |
| const Enum< RawButtonCode > & | Murl::GetRawButtonCodeEnum () |
| Get the RawButtonCode enumeration string mapping. More... | |
| const Enum< RawKeyCode > & | Murl::GetRawKeyCodeEnum () |
| Get the RawKeyCode enumeration string mapping. More... | |
Detailed Description
Device items enumerations.
Enumeration Type Documentation
◆ InputDeviceType
Input device types.
| Enumerator | |
|---|---|
| INPUT_DEVICE_TYPE_UNKNOWN | Unknown input device type. String value: |
| INPUT_DEVICE_TYPE_KEYBOARD | Keyboard input device type. String value: |
| INPUT_DEVICE_TYPE_MOUSE | Mouse input device type. String value: |
| INPUT_DEVICE_TYPE_TOUCH_SCREEN | Touch screen input device type. String value: |
| INPUT_DEVICE_TYPE_GAME_CONTROLLER | Game controller input device type. String value: |
◆ ButtonState
Button states.
| Enumerator | |
|---|---|
| BUTTON_STATE_UP | Button is up (not pressed). String value: |
| BUTTON_STATE_DOWN | Button is down (pressed). String value: |
| BUTTON_STATE_HOVER | Mouse is hovering above the button. Not available for touch screens. String value: |
| BUTTON_STATE_DISABLED | Button is disabled (inactive). String value: |
| BUTTON_STATE_UNDEFINED | Button is in an undefined state. String value: |
◆ MouseButton
Mouse button enumeration.
| Enumerator | |
|---|---|
| MOUSE_BUTTON_LEFT | Left mouse button. String value: |
| MOUSE_BUTTON_RIGHT | Right mouse button, if available. String value: |
| MOUSE_BUTTON_MIDDLE | Middle mouse button, if available. String value: |
| MOUSE_BUTTON_NEXT | A "next" button on the mouse, if available. String value: |
| MOUSE_BUTTON_PREV | A "back" button on the mouse, if available. String value: |
| MOUSE_BUTTON_NONE | Explicit "no button" value. String value: |
◆ KeyCode
Keyboard codes for special functions.
| Enumerator | |
|---|---|
| KEYCODE_NONE | Explicit "no key" value. String value: |
| KEYCODE_BACKSPACE | The backspace key. String value: |
| KEYCODE_TABULATOR | The tabulator key. String value: |
| KEYCODE_LINEFEED | The linefeed key. String value: |
| KEYCODE_RETURN | The return key. String value: |
| KEYCODE_ESCAPE | The escape key. String value: |
| KEYCODE_SPACE | The space key. String value: |
◆ GameControllerControl
Game controller control enumeration.
| Enumerator | |
|---|---|
| GAME_CONTROLLER_CONTROL_DPAD | The digital pad. String value: |
| GAME_CONTROLLER_CONTROL_LEFT_STICK | The left analog stick. String value: |
| GAME_CONTROLLER_CONTROL_RIGHT_STICK | The right analog stick. String value: |
| GAME_CONTROLLER_CONTROL_SHOULDER_L1 | The left analog shoulder buttons (1st row). String value: |
| GAME_CONTROLLER_CONTROL_SHOULDER_R1 | The right analog shoulder buttons (1st row). String value: |
| GAME_CONTROLLER_CONTROL_SHOULDER_L2 | The left analog shoulder buttons (2nd row). String value: |
| GAME_CONTROLLER_CONTROL_SHOULDER_R2 | The right analog shoulder buttons (2nd row). String value: |
| GAME_CONTROLLER_CONTROL_VIBRATE_LOW | The low frequency vibration motor. String value: |
| GAME_CONTROLLER_CONTROL_VIBRATE_HIGH | The high frequency vibration motor. String value: |
| GAME_CONTROLLER_CONTROL_ACCELERATION | A controller that has the ability to measure acceleration. String value: |
| GAME_CONTROLLER_CONTROL_TOUCH_ORIENTATION | A touchpad controller supporting inputs relative to the orientation. String value: |
| GAME_CONTROLLER_CONTROL_TOUCH_ABS_REL | A touchpad controller supporting absolute and relative inputs. String value: |
◆ GameControllerButton
Game controller button enumeration.
| Enumerator | |
|---|---|
| GAME_CONTROLLER_BUTTON_DPAD_LEFT | Digital "left". String value: |
| GAME_CONTROLLER_BUTTON_DPAD_RIGHT | Digital "right". String value: |
| GAME_CONTROLLER_BUTTON_DPAD_UP | Digital "up". String value: |
| GAME_CONTROLLER_BUTTON_DPAD_DOWN | Digital "down". String value: |
| GAME_CONTROLLER_BUTTON_A | The "A" button. String value: |
| GAME_CONTROLLER_BUTTON_B | The "B" button. String value: |
| GAME_CONTROLLER_BUTTON_C | The "C" button. String value: |
| GAME_CONTROLLER_BUTTON_D | The "D" button. String value: |
| GAME_CONTROLLER_BUTTON_X | The "X" button. String value: |
| GAME_CONTROLLER_BUTTON_Y | The "Y" button. String value: |
| GAME_CONTROLLER_BUTTON_Z | The "Z" button. String value: |
| GAME_CONTROLLER_BUTTON_SELECT | The "Select" button. String value: |
| GAME_CONTROLLER_BUTTON_HOME | The "Home" button. String value: |
| GAME_CONTROLLER_BUTTON_START | The "Start" button. String value: |
| GAME_CONTROLLER_BUTTON_L1 | The left shoulder button (1st row). String value: |
| GAME_CONTROLLER_BUTTON_R1 | The right shoulder button (1st row). String value: |
| GAME_CONTROLLER_BUTTON_L2 | The left shoulder button (2nd row). String value: |
| GAME_CONTROLLER_BUTTON_R2 | The right shoulder button (2nd row). String value: |
| GAME_CONTROLLER_BUTTON_LEFT_STICK | The left stick button. String value: |
| GAME_CONTROLLER_BUTTON_RIGHT_STICK | The right stick button. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_0 | Auxiliary button 0. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_1 | Auxiliary button 1. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_2 | Auxiliary button 2. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_3 | Auxiliary button 3. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_4 | Auxiliary button 4. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_5 | Auxiliary button 5. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_6 | Auxiliary button 6. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_7 | Auxiliary button 7. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_8 | Auxiliary button 8. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_9 | Auxiliary button 9. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_10 | Auxiliary button 10. String value: |
| GAME_CONTROLLER_BUTTON_AUXILIARY_11 | Auxiliary button 11. String value: |
| GAME_CONTROLLER_BUTTON_MINUS | The "-" button, equal to the "Select" button. String value: |
| GAME_CONTROLLER_BUTTON_PLUS | The "+" button, equal to the "Start" button. String value: |
◆ RawButtonCode
| enum Murl::RawButtonCode |
The raw-button codes enumeration.
◆ RawKeyCode
| enum Murl::RawKeyCode |
The raw-key codes enumeration.
Function Documentation
◆ GetInputDeviceTypeEnum()
| const Enum< InputDeviceType >& Murl::IEnums::GetInputDeviceTypeEnum | ( | ) |
Get the InputDeviceType enumeration string mapping.
- Returns
- The enumeration string mapping.
◆ GetButtonStateEnum()
| const Enum< ButtonState >& Murl::IEnums::GetButtonStateEnum | ( | ) |
Get the ButtonState enumeration string mapping.
- Returns
- The enumeration string mapping.
◆ GetMouseButtonEnum()
| const Enum< MouseButton >& Murl::IEnums::GetMouseButtonEnum | ( | ) |
Get the MouseButton enumeration string mapping.
- Returns
- The enumeration string mapping.
◆ GetKeyCodeEnum()
Get the KeyCode enumeration string mapping.
- Returns
- The enumeration string mapping.
◆ GetGameControllerControlEnum()
| const Enum< GameControllerControl >& Murl::IEnums::GetGameControllerControlEnum | ( | ) |
Get the GameControllerControl enumeration string mapping.
- Returns
- The enumeration string mapping.
◆ GetGameControllerButtonEnum()
| const Enum< GameControllerButton >& Murl::IEnums::GetGameControllerButtonEnum | ( | ) |
Get the GameControllerButton enumeration string mapping.
- Returns
- The enumeration string mapping.
◆ GetRawButtonCodeEnum()
| const Enum< RawButtonCode >& Murl::GetRawButtonCodeEnum | ( | ) |
Get the RawButtonCode enumeration string mapping.
- Returns
- The enumeration string mapping.
◆ GetRawKeyCodeEnum()
| const Enum< RawKeyCode >& Murl::GetRawKeyCodeEnum | ( | ) |
Get the RawKeyCode enumeration string mapping.
- Returns
- The enumeration string mapping.