11 #include <Header/NRE_Math.hpp> 12 #include <Header/NRE_Utility.hpp> 14 #ifdef _WIN32 // Windows 15 #include "../../../OS/Windows/Event/Input/Keys/NRE_WindowsKeyTranslater.hpp" 16 #elif __linux__ // Linux 17 #include "../../../OS/Linux/Event/Input/Keys/NRE_LinuxKeyTranslater.hpp" 19 #error "Not Supported Yet or Unknown compiler" 23 #include "../Event/NRE_Event.hpp" 45 Utility::Vector<KeyCode> keys;
46 Utility::Vector<ButtonEventData> buttons;
64 #ifdef _WIN32 // Windows 71 KeyCode translateKey(WPARAM wParam, LPARAM lParam)
const;
77 ButtonCode translateButton(WPARAM wParam)
const;
78 #elif __linux__ // Linux 84 KeyCode translateKey(XKeyEvent
const& keyEvent)
const;
90 ButtonCode translateButton(XButtonEvent
const& buttonEvent)
const;
125 #include "NRE_InputManager.tpp" 126 #ifdef _WIN32 // Windows 127 #include "../../../OS/Windows/Event/Input/NRE_WindowsInputManager.tpp" 128 #elif __linux__ // Linux 129 #include "../../../OS/Linux/Event/Input/NRE_LinuxInputManager.tpp" KeyCode
Definition: NRE_Keys.hpp:27
Manage the translation of native key.
Definition: NRE_LinuxKeyTranslater.hpp:31
The NearlyRealEngine's global namespace.