From d3ffe5b38eb49f923a87780668c7c4c31e251682 Mon Sep 17 00:00:00 2001 From: Sorgelig Date: Mon, 25 Oct 2021 20:10:11 +0800 Subject: [PATCH] input: fix key_menu_as_rgui option. --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index aae011b..41f391a 100644 --- a/input.cpp +++ b/input.cpp @@ -2665,7 +2665,7 @@ static void input_cb(struct input_event *ev, struct input_absinfo *absinfo, int // replace MENU key by RGUI to allow using Right Amiga on reduced keyboards // (it also disables the use of Menu for OSD) - if (cfg.key_menu_as_rgui && code == 139) code = 126; + if (cfg.key_menu_as_rgui && code == KEY_COMPOSE) code = KEY_RIGHTMETA; //Keyrah v2: USB\VID_18D8&PID_0002\A600/A1200_MULTIMEDIA_EXTENSION_VERSION int keyrah = (cfg.keyrah_mode && (((((uint32_t)input[dev].vid) << 16) | input[dev].pid) == cfg.keyrah_mode));