ENIGMA Forums

Contributing to ENIGMA => Function Peer Review => Topic started by: TheExDeus on January 04, 2013, 01:04:35 PM

Title: Windows callback
Post by: TheExDeus on January 04, 2013, 01:04:35 PM
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.
Title: Re: Windows callback
Post by: forthevin on January 12, 2013, 10:24:16 AM
I have committed a fix for Linux and included your fix for Windows.
Title: Re: Windows callback
Post by: TheExDeus on January 12, 2013, 11:10:40 AM
Thanks.