![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Implements controller navigation input handling. More...
#include "src/input/navigation_input.h"Functions | |
| UiCommand | input::map_gamepad_axis_direction_to_ui_command (GamepadAxisDirection direction) |
| Map a controller axis direction to a UI command. | |
| UiCommand | input::map_gamepad_button_to_ui_command (GamepadButton button) |
| Map a controller button to a UI command. | |
| UiCommand | input::map_keyboard_key_to_ui_command (KeyboardKey key, bool shiftPressed=false) |
| Map a keyboard key to a UI command. | |
Implements controller navigation input handling.
| UiCommand input::map_gamepad_axis_direction_to_ui_command | ( | GamepadAxisDirection | direction | ) |
Map a controller axis direction to a UI command.
| direction | Controller axis direction that crossed the navigation threshold. |
| UiCommand input::map_gamepad_button_to_ui_command | ( | GamepadButton | button | ) |
Map a controller button to a UI command.
| button | Controller button that was pressed. |
| UiCommand input::map_keyboard_key_to_ui_command | ( | KeyboardKey | key, |
| bool | shiftPressed = false ) |
Map a keyboard key to a UI command.
| key | Keyboard key that was pressed. |
| shiftPressed | Whether Shift was held for keys such as Tab. |