keypad5 without numlock? |
Chris
Guest
|
What is the number/constant for checking usage of the keypad5 button when
numlock is off? Any help appreciated. |
|||||||||||
|
keypad5 without numlock? |
ÀÞÜÐÝ ºØàØÛØç
Guest
|
SDLK_KP5 |
|||||||||||||
|
keypad5 without numlock? |
ÀÞÜÐÝ ºØàØÛØç
Guest
|
See here for nice complete list:
http://www.libsdl.org/cgi/docwiki.cgi/SDLKey |
|||||||||||
|
keypad5 without numlock? |
keypad5 without numlock? |
Alex Volkov
Guest
|
Chris wrote:
On my Win2k system, the DirectX driver produces SDLK_KP5 (and 1..9) equally with NumLock ON or OFF. The WinDib driver, however, produces SDLK_LEFT et al for the numpad with NumLock OFF.
Here, the key produced by WinDib for keypad-5 w/ NumLock OFF is SDLK_CLEAR (whatever that is). -Alex. |
|||||||||||||||||
|
keypad5 without numlock? |
John Popplewell
Guest
|
On Wed, May 31, 2006 at 08:24:09PM -0400, Alex Volkov wrote:
this is fixed in svn - see https://bugzilla.libsdl.org/show_bug.cgi?id=164 The directx and windib driver now return SDLK_KP5 regardless of the NumLock setting (the original directx driver behavior), regards, John.
|
|||||||||||||||||||||
|
keypad5 without numlock? |
Chris
Guest
|
"John Popplewell" <john at johnnypops.demon.co.uk> wrote:
Thanks Alex, Thanks John, for both solutions. crichmon |
|||||||||||||||
|