[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH xkeyboard-config] Add evdev mappings for KEY_SOUND, KEY_UWB, KEY_WWAN and KEY_RFKILL
From:       Bastien Nocera <hadess () hadess ! net>
Date:       2017-05-15 7:11:12
Message-ID: 1494832272.31900.22.camel () hadess ! net
[Download RAW message or body]

On Mon, 2017-05-15 at 09:07 +0200, Hans de Goede wrote:
> > > -//  key <I221>   {      [ ]       }; // KEY_SOUND
> > > +    key <I221>   {      [ XF86AudioPreset       ]       };
> > 
> > This is an existing keysym, but what does it correspond to?
> 
>  From XF86keysym.h :
> 
> #define XF86XK_AudioPreset 0x1008FFB6 /* Select equalizer preset,
> e.g. theatre-mode */
> 
> I221 corresponds to KEY_SOUND which gets used in the kernel in
> the following ways:
> 
> drivers/platform/x86/peaq-wmi.c:
>         Used for the Dolby button which under windows toggles through
> theater/game/speach/music mode.
> 
> drivers/media/rc/keymaps/rc-kworld-pc150u.c
> 73:     { 0x48, KEY_SOUND},             /* switch theater mode */
> 
> drivers/media/rc/keymaps/rc-cec.c
> 67:     { 0x33, KEY_SOUND }, /* CEC Spec: Sound Select */
> 
> drivers/media/rc/keymaps/rc-encore-enltv.c
> 74:     { 0x4d, KEY_SOUND },            /* DVD sound */

Looks like we won't need to handle *that* one in gnome-settings-daemon.

Thanks
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic