*
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef InputSystem_h__
|
||||
#define InputSystem_h__
|
||||
|
||||
#include "InputDevice.h"
|
||||
#include "InputTypes.h"
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace LifeCore{
|
||||
class InputSystem{
|
||||
public:
|
||||
typedef std::vector<std::shared_ptr<InputDevice> > InputDeviceList;
|
||||
InputSystem();
|
||||
virtual ~InputSystem();
|
||||
InputDeviceList getDevices(InputDeviceType device);
|
||||
virtual void update();
|
||||
private:
|
||||
InputDeviceList devices;
|
||||
};
|
||||
}
|
||||
#endif // InputSystem_h__
|
||||
Reference in New Issue
Block a user