finished the new keyboard scanning routine
This commit is contained in:
1 parent
5dedf1314e
commit
470c4bded6
8 files changed
+78
-36
No files matched your search
@@ -7,7 +7,7 @@
|
||||
//
|
||||
|
||||
|
||||
#if CONFIG_KEYBOARD_C128
|
||||
#if CONFIG_KEYBOARD_C128 && !CONFIG_LEGACY_SCNKEY
|
||||
|
||||
|
||||
kb_matrix_128:
|
||||
@@ -27,4 +27,4 @@ kb_matrix_128_bucky_filter:
|
||||
|
||||
|
||||
|
||||
#endif // CONFIG_KEYBOARD_C128
|
||||
#endif // CONFIG_KEYBOARD_C128 and no CONFIG_LEGACY_SCNKEY
|
||||
@@ -273,15 +273,17 @@ scnkey_output_key:
|
||||
!:
|
||||
|
||||
lda kb_matrix_128 - $40, y // retrieve key code from C128 extended matrix
|
||||
cmp KEY_TAB_FW // special handling for SHIFT+TAB
|
||||
bne scnkey_got_petscii
|
||||
lda SHFLAG // special handling for SHIFT+TAB
|
||||
and #KEY_FLAG_SHIFT
|
||||
bne !+
|
||||
lda KEY_TAB_FW
|
||||
bne scnkey_got_petscii // branch alWAYS
|
||||
!:
|
||||
lda KEY_TAB_BW
|
||||
|
||||
// XXX this will be needed for extended screen editor
|
||||
// cmp KEY_TAB_FW // special handling for SHIFT+TAB
|
||||
// bne scnkey_got_petscii
|
||||
// lda SHFLAG // special handling for SHIFT+TAB
|
||||
// and #KEY_FLAG_SHIFT
|
||||
// bne !+
|
||||
// lda KEY_TAB_FW
|
||||
// bne scnkey_got_petscii // branch alWAYS
|
||||
// !:
|
||||
// lda KEY_TAB_BW
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
|
||||
|
||||
#if CONFIG_KEYBOARD_C128
|
||||
#if CONFIG_KEYBOARD_C128 && !CONFIG_LEGACY_SCNKEY
|
||||
|
||||
|
||||
// Inlining this within SCNKEY would both overcomplicate the implementation
|
||||
@@ -74,4 +74,4 @@ scnkey_128_no_keys:
|
||||
jmp scnkey_no_keys // pass controll to original routine
|
||||
|
||||
|
||||
#endif // CONFIG_KEYBOARD_C128
|
||||
#endif // CONFIG_KEYBOARD_C128 and no CONFIG_LEGACY_SCNKEY
|
||||
Reference in new issue
Block a user