Subversion Repositories eduke32

Rev

Rev 7986 | Rev 8293 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7986 Rev 7992
Line 157... Line 157...
157
    GAMECONTROLLER_AXIS_TRIGGERLEFT,
157
    GAMECONTROLLER_AXIS_TRIGGERLEFT,
158
    GAMECONTROLLER_AXIS_TRIGGERRIGHT,
158
    GAMECONTROLLER_AXIS_TRIGGERRIGHT,
159
    GAMECONTROLLER_AXIS_MAX
159
    GAMECONTROLLER_AXIS_MAX
160
};
160
};
161
161
-
 
162
enum class LastSeenInput : unsigned char
-
 
163
{
-
 
164
    Keyboard,
-
 
165
    Joystick,
-
 
166
};
-
 
167
162
//***************************************************************************
168
//***************************************************************************
163
//
169
//
164
// GLOBALS
170
// GLOBALS
165
//
171
//
166
//***************************************************************************
172
//***************************************************************************
Line 172... Line 178...
172
extern bool CONTROL_JoystickEnabled;
178
extern bool CONTROL_JoystickEnabled;
173
179
174
extern uint64_t CONTROL_ButtonState;
180
extern uint64_t CONTROL_ButtonState;
175
extern uint64_t CONTROL_ButtonHeldState;
181
extern uint64_t CONTROL_ButtonHeldState;
176
182
-
 
183
extern LastSeenInput CONTROL_LastSeenInput;
-
 
184
177
185
178
//***************************************************************************
186
//***************************************************************************
179
//
187
//
180
// PROTOTYPES
188
// PROTOTYPES
181
//
189
//