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 - virtual key Home reported as numpad 7
Summary: virtual key Home reported as numpad 7
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.2
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 21:46 UTC by Andrew Kelley
Modified: 2015-02-11 21:46 UTC (History)
0 users

See Also:


Attachments

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