From ef04a15c8dd3c18968b6fc134cdcf169069c385e Mon Sep 17 00:00:00 2001 From: user Date: Thu, 16 Jul 2026 16:19:32 +0200 Subject: osk: bind START to Enter (CR) START now returns $0A regardless of cursor position, so you can submit a command without navigating to the CR key. The CR key still works too. --- src/osk.asm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/osk.asm') diff --git a/src/osk.asm b/src/osk.asm index 02700c6..c761aed 100644 --- a/src/osk.asm +++ b/src/osk.asm @@ -336,6 +336,13 @@ osk_handle:: ld a, [wPadNew] bit 4, a call nz, osk_right + ld a, [wPadNew] + bit 3, a ; START -> Enter (CR) + jr z, .chka + ld a, 10 + scf + ret +.chka ld a, [wPadNew] bit 0, a ; A: type the key as shown jr z, .chkb -- cgit v1.3.1-sl0p