#pragma once #include "Controller.h" #include namespace Ship { class KeyboardController : public Controller { public: KeyboardController(int32_t dwControllerNumber); ~KeyboardController(); void ReadFromSource(); void WriteToSource(ControllerCallback* controller); bool PressButton(int32_t dwScancode); bool ReleaseButton(int32_t dwScancode); void ReleaseAllButtons(); protected: std::string GetControllerType(); std::string GetConfSection(); std::string GetBindingConfSection(); }; }