record and act on selected keys in options (except for save button and cancel button which are not acted upon)

This commit is contained in:
2025-02-21 14:46:54 +00:00
parent 20338996b8
commit b2f58f1c9a
5 changed files with 311 additions and 27 deletions

View File

@@ -7,7 +7,7 @@ struct
START_BUTTON =>
let
val mode =
if #attackHeld input orelse #jumpHeld input then
if #attackHeld input then
GameType.LEVEL LevelType.initial
else
let
@@ -23,7 +23,7 @@ struct
| OPTIONS_BUTTON =>
let
val mode =
if #attackHeld input orelse #jumpHeld input then
if #attackHeld input then
(* placeholder: go to configure screen instead once that is implemented *)
GameType.OPTIONS OptionsType.initial
else