fix reversed prev/next
# MACROPAD Hotkeys example: Minecraft hotbar (inventory)
+# Note: Must enable "full keyboad gameplay" for Prev/Next buttons to work.
+# This is found under "settings", then "keyboard and mouse".
+
from adafruit_hid.keycode import Keycode # REQUIRED if using Keycode.* values
app = { # REQUIRED dict, must be named 'app'
@@ -19,9 +22,9 @@ app = { # REQUIRED dict, must be named 'app'
(0x202000, '2', ['2']),
(0x202000, '3', ['3']),
# 4th row ----------
- (0x202000, 'Prev', [Keycode.PAGE_DOWN]),
+ (0x002020, 'Prev', [Keycode.PAGE_UP]),
(0x000000, '', []),
- (0x202000, 'Next', [Keycode.PAGE_UP]),
+ (0x002020, 'Next', [Keycode.PAGE_DOWN]),
# Encoder button ---
(0x000000, '', [])
]
