notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e732d7
)
Fix key up for typematic
author
qufb
<93520295+qufb@users.noreply.github.com>
Wed, 29 Jun 2022 22:00:04 +0000
(23:00 +0100)
committer
kub
<derkub@gmail.com>
Thu, 16 Jan 2025 17:47:50 +0000
(18:47 +0100)
pico/pico/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/pico/memory.c
b/pico/pico/memory.c
index
c2e0904
..
2f63de3
100644
(file)
--- a/
pico/pico/memory.c
+++ b/
pico/pico/memory.c
@@
-230,6
+230,10
@@
static u32 PicoRead8_pico_kb(u32 a)
else
elprintf(EL_PICOHW, "PicoPicohw.kb.key_state: SHIFT DOWN\n");
}
+ // Must register key up while typematic not active (expected by Kibodeu Piko)
+ if ((d & 8) == 0) {
+ d |= 1; // Send key up a.k.a. break
+ }
}
if (PicoPicohw.kb.key_state == KEY_UP
|| PicoPicohw.kb.shift_state == SHIFT_UP_HELD_DOWN