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 - Inccorrect scancode mappings for arrow keys
Summary: Inccorrect scancode mappings for arrow keys
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: x86 Windows Vista
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
: 712 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-17 06:17 UTC by phpfreaked9
Modified: 2010-01-26 21:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!