2 #ifndef GAINPUTINPUTMAP_H_ 3 #define GAINPUTINPUTMAP_H_ 48 const char*
GetName()
const {
return name_; }
50 unsigned GetId()
const {
return id_; }
72 float min = 0.0f,
float max = 1.0f,
112 bool SetDeadZone(
UserButtonId userButton,
float deadZone);
137 size_t GetUserButtonName(
UserButtonId userButton,
char* buffer,
size_t bufferLength)
const;
163 void ReorderListeners();
172 UserButtonMap userButtons_;
177 unsigned nextListenerId_;
181 float GetFloatState(
UserButtonId userButton,
bool previous)
const;
184 const UserButton* GetUserButton(
UserButtonId userButton)
const;