|
libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
|
High-level game controller input abstraction built on Controller. More...
#include "joystick.hpp"Go to the source code of this file.
Classes | |
| class | mx::Input |
| Convenience wrapper that queries controller buttons by logical name. More... | |
Namespaces | |
| namespace | mx |
Enumerations | |
| enum class | mx::Input_Button { mx::BTN_A = 0 , mx::BTN_B , mx::BTN_X , mx::BTN_Y , mx::BTNL_L , mx::BTN_R , mx::BTN_D_UP , mx::BTN_D_DOWN , mx::BTN_D_LEFT , mx::BTN_D_RIGHT , mx::BTN_START , mx::BTN_BACK } |
| Logical button identifiers for a standard gamepad. More... | |
High-level game controller input abstraction built on Controller.
Input extends Controller to offer a named-button query API using the Input_Button enum, mapping logical buttons to SDL_GameControllerButton values.
Definition in file input.hpp.