diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-02-29 16:58:46 +0200 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-03-01 09:26:41 +0200 |
commit | 4b468cd45c05c44b6d5c5c6ea2c50e6f955c01ea (patch) | |
tree | 3ac9ac14d47abc808df11965396a0b37dfc609b7 /client/red_key.h | |
parent | e342ef835732a3696c1eb41204896d125115576a (diff) | |
download | spice-4b468cd45c05c44b6d5c5c6ea2c50e6f955c01ea.tar.gz spice-4b468cd45c05c44b6d5c5c6ea2c50e6f955c01ea.tar.xz spice-4b468cd45c05c44b6d5c5c6ea2c50e6f955c01ea.zip |
client: keyboard - add mapping for volume keys
Add support for sending volume keys scancodes to the guest
RHBZ #552539
A good reference for mapping keymaps to scancodes can be found in
spice-gtk/gtk/keymaps.csv
Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
(cherry picked from commit 68cdc5488da1a008fa4e8a4447b85aa8ac9c2735)
Diffstat (limited to 'client/red_key.h')
-rw-r--r-- | client/red_key.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/red_key.h b/client/red_key.h index ea3396ab..3789c9a0 100644 --- a/client/red_key.h +++ b/client/red_key.h @@ -121,7 +121,10 @@ enum RedKey { REDKEY_ESCAPE_BASE = 0x100, REDKEY_PAD_ENTER = REDKEY_ESCAPE_BASE + 0x1c, REDKEY_R_CTRL = REDKEY_ESCAPE_BASE + 0x1d, + REDKEY_MUTE = REDKEY_ESCAPE_BASE + 0x20, REDKEY_FAKE_L_SHIFT = REDKEY_ESCAPE_BASE + 0x2a, + REDKEY_VOLUME_DOWN = REDKEY_ESCAPE_BASE + 0x2e, + REDKEY_VOLUME_UP = REDKEY_ESCAPE_BASE + 0x30, REDKEY_PAD_DIVIDE = REDKEY_ESCAPE_BASE + 0x35, REDKEY_FAKE_R_SHIFT = REDKEY_ESCAPE_BASE + 0x36, REDKEY_CTRL_PRINT_SCREEN = REDKEY_ESCAPE_BASE + 0x37, |