Pioneer
Loading...
Searching...
No Matches
Classes | Functions | Variables
Input Namespace Reference

Classes

struct  BindingGroup
 
struct  BindingPage
 
struct  InputFrame
 
struct  JoystickInfo
 
class  Manager
 

Functions

std::vector< sigc::slot< void, Input::Manager * > > & GetBindingRegistration ()
 
bool AddBindingRegistrar (sigc::slot< void, Input::Manager * > &&fn)
 
void InitJoysticks (IniConfig *config)
 
std::vector< JoystickInfo > & GetJoysticks ()
 
std::string JoystickName (int joystick)
 
SDL_JoystickGUID JoystickGUID (int joystick)
 
std::string JoystickGUIDString (int joystick)
 
void SaveJoystickConfig (uint32_t joystick, IniConfig *config)
 
int JoystickFromGUIDString (const std::string &guid)
 
int JoystickFromGUIDString (const char *guid)
 
int JoystickFromGUID (SDL_JoystickGUID guid)
 
int JoystickFromID (SDL_JoystickID id)
 
void AddJoystickID (SDL_JoystickID sdl_id, uint32_t internal_id)
 

Variables

std::vector< sigc::slot< void, Input::Manager * > > * m_registrations
 
std::vector< uint32_t > m_joyIDs
 
std::vector< JoystickInfom_joysticks
 
InputBindings::Action nullAction
 
InputBindings::Axis nullAxis
 

Function Documentation

◆ AddBindingRegistrar()

bool Input::AddBindingRegistrar ( sigc::slot< void, Input::Manager * > &&  fn)

◆ AddJoystickID()

void Input::AddJoystickID ( SDL_JoystickID  sdl_id,
uint32_t  internal_id 
)

◆ GetBindingRegistration()

std::vector< sigc::slot< void, Input::Manager * > > & Input::GetBindingRegistration ( )

◆ GetJoysticks()

std::vector< JoystickInfo > & Input::GetJoysticks ( )

◆ InitJoysticks()

void Input::InitJoysticks ( IniConfig config)
Here is the call graph for this function:

◆ JoystickFromGUID()

int Input::JoystickFromGUID ( SDL_JoystickGUID  guid)

◆ JoystickFromGUIDString() [1/2]

int Input::JoystickFromGUIDString ( const char *  guid)
Here is the call graph for this function:

◆ JoystickFromGUIDString() [2/2]

int Input::JoystickFromGUIDString ( const std::string &  guid)
Here is the call graph for this function:

◆ JoystickFromID()

int Input::JoystickFromID ( SDL_JoystickID  id)

◆ JoystickGUID()

SDL_JoystickGUID Input::JoystickGUID ( int  joystick)

◆ JoystickGUIDString()

std::string Input::JoystickGUIDString ( int  joystick)

◆ JoystickName()

std::string Input::JoystickName ( int  joystick)

◆ SaveJoystickConfig()

void Input::SaveJoystickConfig ( uint32_t  joystick,
IniConfig config 
)
Here is the call graph for this function:

Variable Documentation

◆ m_joyIDs

std::vector<uint32_t> Input::m_joyIDs

◆ m_joysticks

std::vector<JoystickInfo> Input::m_joysticks

◆ m_registrations

std::vector<sigc::slot<void, Input::Manager *> >* Input::m_registrations

◆ nullAction

InputBindings::Action Input::nullAction

◆ nullAxis

InputBindings::Axis Input::nullAxis