#include <AndroidJoystickTranslator.h>
|
| static const char * | TranslateAxis (int axisId) |
| | Translate an axis ID to an Android enum suitable for logging.
|
| |
| static const char * | TranslateKeyCode (int keyCode) |
| | Translate a key code to an Android enum suitable for logging.
|
| |
| static const char * | TranslateJoystickButton (int buttonKeycode) |
| | Translate a button key code to a feature on the default controller.
|
| |
◆ TranslateAxis()
| const char * CAndroidJoystickTranslator::TranslateAxis |
( |
int | axisId | ) |
|
|
static |
Translate an axis ID to an Android enum suitable for logging.
- Parameters
-
| axisId | The axis ID given in <android/input.h> |
- Returns
- The translated enum label, or "unknown" if unknown
◆ TranslateJoystickButton()
| const char * CAndroidJoystickTranslator::TranslateJoystickButton |
( |
int | buttonKeycode | ) |
|
|
static |
Translate a button key code to a feature on the default controller.
- Parameters
-
| buttonKeycode | The key code given in <android/keycodes.h> |
- Returns
- The translated feature, or "" if unknown
◆ TranslateKeyCode()
| const char * CAndroidJoystickTranslator::TranslateKeyCode |
( |
int | keyCode | ) |
|
|
static |
Translate a key code to an Android enum suitable for logging.
- Parameters
-
| keyCode | The key code given in <android/keycodes.h> |
- Returns
- The translated enum label, or "unknown" if unknown
The documentation for this class was generated from the following files: