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

Define brightness keys, zoom keys and missing media keys

parent fa41853f
......@@ -80,6 +80,24 @@
#define KEY_MEDIA_PREV_TRACK 0x004A0000
#define KEY_MEDIA_STOP 0x004B0000
#define KEY_MEDIA_PLAY_PAUSE 0x004C0000
#define KEY_MEDIA_RECORD 0x004D0000
#define KEY_MEDIA_REWIND 0x004E0000
#define KEY_MEDIA_FORWARD 0x004F0000
#define KEY_MEDIA_REPEAT 0x00500000
#define KEY_MEDIA_SHUFFLE 0x00510000
#define KEY_MEDIA_SUBTITLE 0x00520000
#define KEY_MEDIA_AUDIO 0x00530000
#define KEY_MEDIA_ANGLE 0x00540000
#define KEY_MEDIA_TIME 0x00550000
#define KEY_MEDIA_FRAME_PREV 0x00560000
#define KEY_MEDIA_FRAME_NEXT 0x00570000
#define KEY_MEDIA_SELECT 0x00580000
#define KEY_MEDIA_VIEW 0x00590000
#define KEY_MEDIA_MENU 0x005A0000
#define KEY_ZOOM_IN 0x00600000
#define KEY_ZOOM_OUT 0x00610000
#define KEY_BRIGHTNESS_UP 0x00620000
#define KEY_BRIGHTNESS_DOWN 0x00630000
#define KEY_MOUSEWHEELUP 0x00F00000
#define KEY_MOUSEWHEELDOWN 0x00F10000
......
......@@ -53,6 +53,8 @@ typedef struct key_descriptor_s
static const struct key_descriptor_s vlc_keys[] =
{ /* Alphabetical order */
{ N_("Backspace"), KEY_BACKSPACE },
{ N_("Brightness Down"), KEY_BRIGHTNESS_DOWN },
{ N_("Brightness Up"), KEY_BRIGHTNESS_UP },
{ N_("Browser Back"), KEY_BROWSER_BACK },
{ N_("Browser Favorites"), KEY_BROWSER_FAVORITES },
{ N_("Browser Forward"), KEY_BROWSER_FORWARD },
......@@ -80,10 +82,24 @@ static const struct key_descriptor_s vlc_keys[] =
{ N_("Home"), KEY_HOME },
{ N_("Insert"), KEY_INSERT },
{ N_("Left"), KEY_LEFT },
{ N_("Media Angle"), KEY_MEDIA_ANGLE },
{ N_("Media Audio Track"), KEY_MEDIA_AUDIO },
{ N_("Media Forward"), KEY_MEDIA_FORWARD },
{ N_("Media Menu"), KEY_MEDIA_MENU },
{ N_("Media Next Frame"), KEY_MEDIA_FRAME_NEXT },
{ N_("Media Next Track"), KEY_MEDIA_NEXT_TRACK },
{ N_("Media Play Pause"), KEY_MEDIA_PLAY_PAUSE },
{ N_("Media Prev Frame"), KEY_MEDIA_FRAME_PREV },
{ N_("Media Prev Track"), KEY_MEDIA_PREV_TRACK },
{ N_("Media Record"), KEY_MEDIA_RECORD },
{ N_("Media Repeat"), KEY_MEDIA_REPEAT },
{ N_("Media Rewind"), KEY_MEDIA_REWIND },
{ N_("Media Select"), KEY_MEDIA_SELECT },
{ N_("Media Shuffle"), KEY_MEDIA_SHUFFLE },
{ N_("Media Stop"), KEY_MEDIA_STOP },
{ N_("Media Subtitle"), KEY_MEDIA_SUBTITLE },
{ N_("Media Time"), KEY_MEDIA_TIME },
{ N_("Media View"), KEY_MEDIA_VIEW },
{ N_("Menu"), KEY_MENU },
{ N_("Mouse Wheel Down"), KEY_MOUSEWHEELDOWN },
{ N_("Mouse Wheel Left"), KEY_MOUSEWHEELLEFT },
......@@ -99,6 +115,8 @@ static const struct key_descriptor_s vlc_keys[] =
{ N_("Volume Down"), KEY_VOLUME_DOWN },
{ N_("Volume Mute"), KEY_VOLUME_MUTE },
{ N_("Volume Up"), KEY_VOLUME_UP },
{ N_("Zoom In"), KEY_ZOOM_IN },
{ N_("Zoom Out"), KEY_ZOOM_OUT },
};
#define KEYS_COUNT (sizeof(vlc_keys)/sizeof(vlc_keys[0]))
......
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