Manage the translation of native key. More...
#include <NRE_LinuxKeyTranslater.hpp>
Public Member Functions | |
KeyCode | translateKey (XKeyEvent const &keyEvent) const |
KeyCode | translateKey (WPARAM wParam, LPARAM lParam) const |
Manage the translation of native key.
KeyCode NRE::Event::KeyTranslater::translateKey | ( | XKeyEvent const & | keyEvent | ) | const |
Translate a native key code into an NRE key
keyEvent | the native key press event |
KeyCode NRE::Event::KeyTranslater::translateKey | ( | WPARAM | wParam, |
LPARAM | lParam | ||
) | const |
Translate a native key code into an NRE key
wParam | additionnal message-specific information |
lParam | additionnal message-specific information |