diff options
author | Ian C <ianc@noddybox.co.uk> | 2023-04-23 09:42:21 +0800 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2023-04-23 09:42:21 +0800 |
commit | bb7b6e8532ef3282fdd15ec133deff919cd7e7c3 (patch) | |
tree | e576c7b35fabe8d903af8ee963ffa42dd2330619 /source/keyboard.c | |
parent | 1d1e0acb5b4494f7c1b041e24e5de4f0614a150b (diff) |
Initial work to add debug menu from 3dsspec
Diffstat (limited to 'source/keyboard.c')
-rw-r--r-- | source/keyboard.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/keyboard.c b/source/keyboard.c index a08b72d..b598a7c 100644 --- a/source/keyboard.c +++ b/source/keyboard.c @@ -372,6 +372,12 @@ const char *SK_KeyName(SoftKey k) } +int SK_KeyPressed(SoftKey key) +{ + return key_state[key].state; +} + + void SK_SaveSnapshot(FILE *fp) { int f; |