Pages: [1]
  Print  
Author Topic: Windows callback  (Read 1473 times)
Offline (Unknown gender) TheExDeus
Posted on: January 04, 2013, 01:04:35 PM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
I forgot how to GIT, so I want someone to get this in their next commit. In WINDOWScallback.cpp delete:
Code: [Select]
keyboard_lastchar = string(1,wParam); from WM_SYSKEYDOWN and WM_KEYDOWN. Instead add this:
Code: [Select]
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.
Logged
Offline (Unknown gender) forthevin
Reply #1 Posted on: January 12, 2013, 10:24:16 AM

Contributor
Joined: Jun 2012
Posts: 171

View Profile
I have committed a fix for Linux and included your fix for Windows.
Logged
Offline (Unknown gender) TheExDeus
Reply #2 Posted on: January 12, 2013, 11:10:40 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Thanks.
Logged
Pages: [1]
  Print