SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SDL::GamepadParam Struct Reference

Safely wrap Gamepad for non owning parameters.

Public Member Functions

constexpr GamepadParam (GamepadRaw value)
 Constructs from GamepadRaw.
 
constexpr GamepadParam (std::nullptr_t _=nullptr)
 Constructs null/invalid.
 
constexpr operator bool () const
 Converts to bool.
 
constexpr auto operator<=> (const GamepadParam &other) const =default
 Comparison.
 
constexpr operator GamepadRaw () const
 Converts to underlying GamepadRaw.
 

Public Attributes

GamepadRaw value
 parameter's GamepadRaw
 

The documentation for this struct was generated from the following file: