Skip to contentSkip to conversation

virtio-input: add missing KEY_COMPOSE mapping

PATCH New Ladi Prosek 1 participant 1 message Dec 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio-input: add missing KEY_COMPOSE mapping

This key tends to be located somewhere between right Alt and right Ctrl and is usually used for opening context menus.

---
 hw/input/virtio-input-hid.c | 1 +
 1 file changed, 1 insertion(+)
hw/input/virtio-input-hid.c +1 -0
index e78faec0b1..387a026e10 100644
@@ -139,6 +139,7 @@ static const unsigned int keymap_qcode[Q_KEY_CODE__MAX] = {
     [Q_KEY_CODE_META_L]              = KEY_LEFTMETA,
     [Q_KEY_CODE_META_R]              = KEY_RIGHTMETA,
     [Q_KEY_CODE_MENU]                = KEY_MENU,
+    [Q_KEY_CODE_COMPOSE]             = KEY_COMPOSE,
 };
 
 static const unsigned int keymap_button[INPUT_BUTTON__MAX] = {
Signature · 1 line
2.13.6