20 #ifndef HEADER_INPUT_HPP
21 #define HEADER_INPUT_HPP
29 #include <irrString.h>
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,
145 const PlayerAction PA_FIRST_GAME_ACTION = PA_STEER_LEFT;
148 const PlayerAction PA_LAST_MENU_ACTION = PA_MENU_CANCEL;
155 std::string(
"steerRight"),
156 std::string(
"accel"),
157 std::string(
"brake"),
158 std::string(
"nitro"),
159 std::string(
"drift"),
160 std::string(
"rescue"),
162 std::string(
"lookBack"),
163 std::string(
"pauserace"),
164 std::string(
"menuUp"),
165 std::string(
"menuDown"),
166 std::string(
"menuLeft"),
167 std::string(
"menuRight"),
168 std::string(
"menuSelect"),
169 std::string(
"menuCancel")