1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-12 04:05:02 -05:00
Arduino-USB-HID-RetroJoysti.../C64_keyboard/C64_matrix.sc

47 lines
1.1 KiB
Python
Raw Normal View History

2019-02-09 05:25:06 -05:00
# Matrix setup for COMMODORE 64
#led caps PD0
#led num PD1
#led scroll PF0
matrix
scanrate 1
debounce 5
blocking 1
2019-03-26 11:29:01 -04:00
sense PB6 PB2 PB3 PB1 PF7 PF6 PF5 PF4 PD3
strobe PD1 1 BACK_QUOTE TAB ESC SPACE LCTRL Q 2 UNASSIGNED
strobe PD0 3 W A LSHIFT Z S E 4 UNASSIGNED
strobe PD4 5 R D X C F T 6 UNASSIGNED
strobe PC6 7 Y G V B H U 8 UNASSIGNED
strobe PD7 9 I J N M K O 0 UNASSIGNED
strobe PE6 MINUS P L COMMA PERIOD SEMICOLON LEFT_BRACE EQUAL UNASSIGNED
strobe PB4 INSERT RIGHT_BRACE QUOTE SLASH RSHIFT BACKSLASH DELETE HOME PAGE_UP
strobe PB5 BACKSPACE ENTER RIGHT DOWN F1 F3 F5 F7 UNASSIGNED
2019-02-09 05:25:06 -05:00
end
2019-02-12 13:35:08 -05:00
# arrow left = BACK_QUOTE (section/fraction)
2019-03-26 11:29:01 -04:00
# pound (£) = INSERT
2019-02-12 13:35:08 -05:00
# restore = PAGE_UP
# run/stop = ESC
# commodore = LCTRL
# arrow up = DELETE
2019-03-26 11:29:01 -04:00
# asterisk (*) = RIGHT_BRACE
# minus (-) = EQUAL
# plus (+) = MINUS
# at (@) = LEFT_BRACE
2019-02-12 13:35:08 -05:00
# ctrl = TAB
# lshift = LSHIFT
# rshift = RSHIFT
2019-03-26 11:29:01 -04:00
# equal (=) = BACKSLASH
# colon (:) = SEMICOLON
# semicolon (;) = QUOTE
2019-02-09 05:25:06 -05:00
2019-04-08 11:29:58 -04:00
# macroblock
# macro F7 LSHIFT # LSHIFT + F7 = F12
# PRESS F12
# CLEAR_ALL
# endmacro
# endblock
2019-02-09 05:25:06 -05:00