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));