NRE::Event::KeyTranslater Class Reference

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
 

Detailed Description

Manage the translation of native key.

Member Function Documentation

KeyCode NRE::Event::KeyTranslater::translateKey ( XKeyEvent const &  keyEvent) const

Translate a native key code into an NRE key

Parameters
keyEventthe native key press event
Returns
the translated key
KeyCode NRE::Event::KeyTranslater::translateKey ( WPARAM  wParam,
LPARAM  lParam 
) const

Translate a native key code into an NRE key

Parameters
wParamadditionnal message-specific information
lParamadditionnal message-specific information
Returns
the translated key

The documentation for this class was generated from the following files: