Files
LifeProject/LifeCore/InputSystem222.h
T
2025-05-13 02:46:21 +03:00

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__