diff options
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp index ecb58eda78e..0821d1d3b23 100644 --- a/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp +++ b/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp @@ -64,7 +64,7 @@ void GPC_KeyboardDevice::NextFrame() * ConvertBPEvent translates Windows keyboard events into ketsji kbd events. * Extra event information is stored, like ramp-mode (just released/pressed) */ -bool GPC_KeyboardDevice::ConvertEvent(int incode, int val) +bool GPC_KeyboardDevice::ConvertEvent(int incode, int val, unsigned int unicode) { bool result = false; @@ -83,6 +83,7 @@ bool GPC_KeyboardDevice::ConvertEvent(int incode, int val) // todo: convert val ?? m_eventStatusTables[m_currentTable][kxevent].m_eventval = val ; //??? + m_eventStatusTables[m_currentTable][kxevent].m_unicode = unicode ; switch (m_eventStatusTables[previousTable][kxevent].m_status) { |