Files
itgmania212121/stepmania/src/RageInput.h
T

35 lines
803 B
C++
Raw Normal View History

#ifndef RAGEINPUT_H
#define RAGEINPUT_H
/*
-----------------------------------------------------------------------------
File: RageInput.h
Desc: Wrapper for SDL's input routines. Generates InputEvents.
-----------------------------------------------------------------------------
*/
2001-11-03 10:52:42 +00:00
#include "RageInputDevice.h"
2001-11-21 03:21:00 +00:00
2003-06-29 07:02:03 +00:00
class InputHandler;
2001-11-03 10:52:42 +00:00
class RageInput
{
2003-02-16 02:25:22 +00:00
vector<InputHandler *> Devices;
2001-11-03 10:52:42 +00:00
public:
RageInput();
2001-11-03 10:52:42 +00:00
~RageInput();
void Update( float fDeltaTime );
2003-05-28 02:35:05 +00:00
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
2003-06-18 05:43:12 +00:00
void WindowReset();
};
2001-11-03 10:52:42 +00:00
2002-05-19 01:59:48 +00:00
extern RageInput* INPUTMAN; // global and accessable from anywhere in our program
#endif
/*
* Copyright (c) 2001-2003 by the person(s) listed below. All rights reserved.
* Chris Danford
* Glenn Maynard
*/