small keyboard reading fixes

This commit is contained in:
FeralChild64 committed 2019-10-17 17:41:50 +02:00
1 parent a7cb7eb52e
commit f9e3b57a79
14 files changed
+57 -26

No files matched your search

+1 -2
View File
@@ -53,7 +53,6 @@ SCNKEY:
#endif
// Retrieve SHIFT / VENDOR / CTRL status
// Use .X to detect 2 or more keys pressed (should be $FF now)
ldy #(__kb_matrix_bucky_confmask_end - kb_matrix_bucky_confmask - 1)
scnkey_bucky_loop:
@@ -154,7 +153,7 @@ scnkey_matrix_loop_inner:
!:
dey
bpl scnkey_matrix_loop_inner
bmi scnkey_no_keys // branch always, multiple keys must have been pressed
bmi scnkey_no_keys // branch always, multiple keys must have been pressed
scnkey_matrix_loop_next:
dex
bpl scnkey_matrix_loop