commit 3c47876d5e305d63b5393690430804aa39571805
parent 51b9c699b8a54e0a99fe63fd68c02ee4d066adbe
Author: neauoire <aliceffekt@gmail.com>
Date: Mon, 27 Dec 2021 13:42:36 -0800
Start button is now HOME
Diffstat:
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -96,6 +96,13 @@ uxnemu orca.rom | shim
- `F3` capture screen
- `F4` load boot.rom
+### Buttons
+
+- `LCTRL` A
+- `LALT` B
+- `LSHIFT` SEL
+- `HOME` START
+
## Need a hand?
Find us in [`#uxn` on irc.esper.net](ircs://irc.esper.net:6697/#uxn).
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -404,7 +404,7 @@ get_button(SDL_Event *event)
case SDLK_LCTRL: return 0x01;
case SDLK_LALT: return 0x02;
case SDLK_LSHIFT: return 0x04;
- case SDLK_ESCAPE: return 0x08;
+ case SDLK_HOME: return 0x08;
case SDLK_UP: return 0x10;
case SDLK_DOWN: return 0x20;
case SDLK_LEFT: return 0x40;