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 2876

Summary: virtual key Home reported as numpad 7
Product: SDL Reporter: Andrew Kelley <superjoe30>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.2   
Hardware: x86_64   
OS: Linux   

Description Andrew Kelley 2015-02-11 21:46:07 UTC
When I press the Home key on my keyboard, which looks like this: http://superjoe.s3.amazonaws.com/blog-files/laptop-review-bonobo-extreme/bonox-keyboard.jpg

SDL virtual key code is reported as numpad 7. It should be reported as virtual key home. Here is the xev event:

KeyPress event, serial 37, synthetic NO, window 0x4800001,
    root 0x28b, subw 0x0, time 74498988, (109,61), root:(816,165),
    state 0x0, keycode 79 (keysym 0xff95, KP_Home), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False