Bug 16519

Summary: Additional keys for remotes
Product: xorg Reporter: Bastien Nocera <bugzilla>
Component: Protocol/CoreAssignee: Daniel Stone <daniel>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: john
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
add a few keys to the keysyms
none
Updated patch none

Description Bastien Nocera 2008-06-25 09:27:04 UTC
Created attachment 17376 [details] [review]
add a few keys to the keysyms

This is needed for some HID remote controls to work under X.

XF86XK_AudioForward = KEY_FASTFORWARD
XF86XK_AudioRepeat = ...
XF86XK_AudioRandomPlay = KEY_SHUFFLE (the HID Usage Tables call it "Random Play")

(Turns out there's no KEY_REPEAT in the Linux kernel headers...)

I have half-a-gazillion more to be able to support the PS3 Bluetooth remote.
Comment 1 Bastien Nocera 2008-06-26 08:38:01 UTC
FYI, the definition for repeat was added:
#define KEY_MEDIA_REPEAT 0x1b7

I'll put up an updated patch with more of the keys I would need later on.
Comment 2 Bastien Nocera 2008-07-02 06:37:22 UTC
Created attachment 17478 [details] [review]
Updated patch

This should be good enough to support the new keys I need for Sony Ericsson phones remote, and PS3 BD remotes.
Comment 3 Peter Hutterer 2008-10-14 21:04:46 UTC
Pushed, thanks.

x11proto: 1cf41088ff751e60071a519466b5a51b65c7626a
libX11: 39c0b266cac8cbc15bf501d7869186862f01d823
Comment 4 Jeremy Huddleston Sequoia 2011-10-17 03:05:47 UTC
*** Bug 2337 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.