Files
itgmania212121/stepmania/src/arch/InputHandler/InputHandler.h
T

31 lines
815 B
C++
Raw Normal View History

2003-02-16 01:16:25 +00:00
#ifndef INPUT_HANDLER_H
#define INPUT_HANDLER_H 1
/*
* This is a simple class to handle special input devices. Update()
* will be called during the input update; the derived class should
* send appropriate events to InputHandler.
*
* Send input events for a specific type of device. Only one driver
* for a given set of InputDevice types should be loaded for a given
* arch. For example, any number of drivers may produce DEVICE_PUMPn
* events, but only one may be loaded at a time.
*
* DEVICE_KEYBOARD and DEVICE_JOYn are fed from SDL and should not
* be used by RageInputFeeders.
*/
2003-02-16 02:25:22 +00:00
class InputHandler
2003-02-16 01:16:25 +00:00
{
public:
virtual void Update(float fDeltaTime) { }
2003-02-16 02:25:22 +00:00
virtual ~InputHandler() { }
2003-02-16 01:16:25 +00:00
};
#endif
/*
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
* Glenn Maynard
*/