Commit f8e9297a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB: map media, brightness and zoom keys

parent 0e8c803f
...@@ -71,6 +71,8 @@ ...@@ -71,6 +71,8 @@
{ XK_Delete, KEY_DELETE, }, { XK_Delete, KEY_DELETE, },
/* XFree86 extensions */ /* XFree86 extensions */
{ XF86XK_MonBrightnessUp, KEY_BRIGHTNESS_UP },
{ XF86XK_MonBrightnessDown, KEY_BRIGHTNESS_DOWN },
{ XF86XK_AudioLowerVolume, KEY_VOLUME_DOWN, }, { XF86XK_AudioLowerVolume, KEY_VOLUME_DOWN, },
{ XF86XK_AudioMute, KEY_VOLUME_MUTE, }, { XF86XK_AudioMute, KEY_VOLUME_MUTE, },
{ XF86XK_AudioRaiseVolume, KEY_VOLUME_UP, }, { XF86XK_AudioRaiseVolume, KEY_VOLUME_UP, },
...@@ -80,10 +82,26 @@ ...@@ -80,10 +82,26 @@
{ XF86XK_AudioNext, KEY_MEDIA_NEXT_TRACK, }, { XF86XK_AudioNext, KEY_MEDIA_NEXT_TRACK, },
{ XF86XK_HomePage, KEY_BROWSER_HOME, }, { XF86XK_HomePage, KEY_BROWSER_HOME, },
{ XF86XK_Search, KEY_BROWSER_SEARCH, }, { XF86XK_Search, KEY_BROWSER_SEARCH, },
{ XF86XK_AudioRecord, KEY_MEDIA_RECORD, },
{ XF86XK_Back, KEY_BROWSER_BACK, }, { XF86XK_Back, KEY_BROWSER_BACK, },
{ XF86XK_Forward, KEY_BROWSER_FORWARD, }, { XF86XK_Forward, KEY_BROWSER_FORWARD, },
{ XF86XK_Stop, KEY_BROWSER_STOP, }, { XF86XK_Stop, KEY_BROWSER_STOP, },
{ XF86XK_Refresh, KEY_BROWSER_REFRESH, }, { XF86XK_Refresh, KEY_BROWSER_REFRESH, },
{ XF86XK_Favorites, KEY_BROWSER_FAVORITES, }, { XF86XK_Favorites, KEY_BROWSER_FAVORITES, },
{ XF86XK_AudioPause, KEY_MEDIA_PLAY_PAUSE, }, { XF86XK_AudioPause, KEY_MEDIA_PLAY_PAUSE, },
{ XF86XK_AudioRewind, KEY_MEDIA_REWIND, },
{ XF86XK_Reload, KEY_BROWSER_REFRESH, }, { XF86XK_Reload, KEY_BROWSER_REFRESH, },
{ XF86XK_ZoomIn, KEY_ZOOM_IN, },
{ XF86XK_ZoomOut, KEY_ZOOM_OUT, },
{ XF86XK_AudioForward, KEY_MEDIA_FORWARD, },
{ XF86XK_AudioRepeat, KEY_MEDIA_REPEAT, },
{ XF86XK_AudioRandomPlay, KEY_MEDIA_SHUFFLE, },
{ XF86XK_Subtitle, KEY_MEDIA_SUBTITLE, },
{ XF86XK_AudioCycleTrack, KEY_MEDIA_AUDIO, },
{ XF86XK_CycleAngle, KEY_MEDIA_ANGLE, },
{ XF86XK_FrameBack, KEY_MEDIA_FRAME_PREV, },
{ XF86XK_FrameForward, KEY_MEDIA_FRAME_NEXT, },
{ XF86XK_Time, KEY_MEDIA_TIME, },
{ XF86XK_Select, KEY_MEDIA_SELECT, },
{ XF86XK_View, KEY_MEDIA_VIEW, },
{ XF86XK_TopMenu, KEY_MEDIA_MENU, },
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment