Pages: 1
Author Topic: Windows callback  (40,025 Views)
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Posted on: January 04, 2013, 06:04:35 PM
I forgot how to GIT, so I want someone to get this in their next commit. In WINDOWScallback.cpp delete:
keyboard_lastchar = string(1,wParam); from WM_SYSKEYDOWN and WM_KEYDOWN. Instead add this:
case WM_CHAR:
keyboard_lastchar = string(1,wParam);
return 0;
Do the same for Linux if you know how. This is correct behavior and can be used for text input and stuff.
Offline (Unknown gender) forthevin

Contributor
Joined: Jun 2012
Posts: 167
View profile
Reply #1 Posted on: January 12, 2013, 03:24:16 PM
I have committed a fix for Linux and included your fix for Windows.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #2 Posted on: January 12, 2013, 04:10:40 PM
Thanks.
Pages: 1