Simulant  21.12-403
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Friends | List of all members
smlt::GameController Class Reference

Public Member Functions

GameControllerID id () const
 
bool has_rumble_effect () const
 
bool start_rumble (float low_rumble, float high_rumble, const smlt::Seconds &duration)
 
void stop_rumble ()
 
bool button_state (JoystickButton button) const
 
float axis_state (JoystickAxis axis) const
 
HatPosition hat_state (JoystickHatID hat) const
 
const uint8_t * platform_data () const
 

Friends

class InputState
 

The documentation for this class was generated from the following files: