We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 743

Summary: Inccorrect scancode mappings for arrow keys
Product: SDL Reporter: phpfreaked9
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2 CC: vedenko
Version: HG 2.0   
Hardware: x86   
OS: Windows Vista   

Description phpfreaked9 2009-05-17 06:17:14 UTC
Under windows, on my laptop, instead of the expected scancodes for the arrow keys it obtains the scancodes for the corresponding keypad keys. 

Up maps to SCANCODE_K8
Right maps to SCANCODE_K6
Left maps to SCANCODE K4
Down maps to SCANCODE k2

I tried looking to the code to suggest or fix the bug but got confused with the different keyboard mappings. If there's any additional information missing contact me, with a simple stepped list so i can provide the information.
Comment 1 Sam Lantinga 2009-09-26 03:09:53 UTC
*** Bug 712 has been marked as a duplicate of this bug. ***
Comment 2 Sam Lantinga 2010-01-26 21:13:57 UTC
This is fixed in revision 5543.

Thanks!