23 lines
494 B
C++
23 lines
494 B
C++
#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__
|