|
SDL3pp
A slim C++ wrapper for SDL3
|
Safely wrap Joystick for non owning parameters.
Public Member Functions | |
| constexpr | JoystickParam (JoystickRaw value) |
| Constructs from JoystickRaw. | |
| constexpr | JoystickParam (std::nullptr_t _=nullptr) |
| Constructs null/invalid. | |
| constexpr | operator bool () const |
| Converts to bool. | |
| constexpr auto | operator<=> (const JoystickParam &other) const =default |
| Comparison. | |
| constexpr | operator JoystickRaw () const |
| Converts to underlying JoystickRaw. | |
Public Attributes | |
| JoystickRaw | value |
| parameter's JoystickRaw | |