Files
itgmania212121/stepmania/src/RageInput.h
T
2003-06-29 07:02:03 +00:00

35 lines
803 B
C++

#ifndef RAGEINPUT_H
#define RAGEINPUT_H
/*
-----------------------------------------------------------------------------
File: RageInput.h
Desc: Wrapper for SDL's input routines. Generates InputEvents.
-----------------------------------------------------------------------------
*/
#include "RageInputDevice.h"
class InputHandler;
class RageInput
{
vector<InputHandler *> Devices;
public:
RageInput();
~RageInput();
void Update( float fDeltaTime );
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
void WindowReset();
};
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
*/