20#ifndef HEADER_INPUT_HPP
21#define HEADER_INPUT_HPP
36 static const int MAX_VALUE = 32768;
38 static const int HAT_H_ID = 100;
39 static const int HAT_V_ID = 101;
64 static const int IT_LAST = IT_MOUSEBUTTON;
74 : m_type(IT_NONE), m_device_id(0), m_button_id(0),
75 m_axis_direction(0), m_axis_range(Input::AR_FULL), m_character(0)
103 Input(InputType ntype,
int deviceID ,
int btnID = 0,
int axisDirection= 0)
104 : m_type(ntype), m_device_id(deviceID), m_button_id(btnID),
105 m_axis_direction(axisDirection), m_axis_range(
Input::AR_FULL)
118 PA_BEFORE_FIRST = -1,
151 std::string(
"steerRight"),
152 std::string(
"accel"),
153 std::string(
"brake"),
154 std::string(
"nitro"),
155 std::string(
"drift"),
156 std::string(
"rescue"),
158 std::string(
"lookBack"),
159 std::string(
"pauserace"),
160 std::string(
"menuUp"),
161 std::string(
"menuDown"),
162 std::string(
"menuLeft"),
163 std::string(
"menuRight"),
164 std::string(
"menuSelect"),
165 std::string(
"menuCancel")