From 4413a4a56c71feaabae3bf9f9f52def83fbafa4a Mon Sep 17 00:00:00 2001 From: "modula t. worm" Date: Mon, 15 Dec 2025 14:03:28 -0600 Subject: [PATCH] fix `key-menu` keycode Previously it conflicted with the keycode for the `r` key. Code in the official Raylib repository uses keycode `5` for the `Menu` key. --- src/raylib.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raylib.lisp b/src/raylib.lisp index 5cb3cb3..442d409 100644 --- a/src/raylib.lisp +++ b/src/raylib.lisp @@ -1485,7 +1485,7 @@ ;; KEY_KP_EQUAL = 336, // Key: Keypad = ;; // Android key buttons ;; KEY_BACK = 4, // Key: Android back button -;; KEY_MENU = 82, // Key: Android menu button +;; KEY_MENU = 5, // Key: Android menu button ;; KEY_VOLUME_UP = 24, // Key: Android volume up button ;; KEY_VOLUME_DOWN = 25 // Key: Android volume down button ;;} KeyboardKey; @@ -1602,7 +1602,7 @@ (:key-kp-equal 336) (:key-back 4) - (:key-menu 82) + (:key-menu 5) (:key-volume-up 24) (:key-volume-down 25))