file
gamepad.hppStruct cubos::
Namespaces
- namespace cubos
- Cubos libraries namespace.
- namespace cubos::core
- Core namespace.
- namespace cubos::core::io
- Input and output module.
Classes
- struct cubos::core::io::GamepadState
- Holds the state of a gamepad.
Enums
Functions
-
auto gamepadButtonToString(GamepadButton button) -> CUBOS_
CORE_ API std::string - Converts a GamepadButton enum to a string.
-
auto stringToGamepadButton(const std::string& str) -> CUBOS_
CORE_ API GamepadButton - Converts a string to a GamepadButton.
-
auto gamepadAxisToString(GamepadAxis axis) -> CUBOS_
CORE_ API std::string - Convert a GamepadAxis to a string.
-
auto stringToGamepadAxis(const std::string& str) -> CUBOS_
CORE_ API GamepadAxis - Convert a string to a GamepadAxis.