Fix lab68 keymap

This commit is contained in:
Dimitris Zervas 2020-09-22 01:08:00 +03:00
parent 69f7c3c8c2
commit 7bd2bdb35f
No known key found for this signature in database
GPG Key ID: 5C27D7C9D1901A30

View File

@ -21,7 +21,7 @@ FN = KC.MO(1)
keyboard.debug_enabled = True
keyboard.col_pins = (mcp.get_pin(0), mcp.get_pin(1), mcp.get_pin(2), mcp.get_pin(3), mcp.get_pin(4), mcp.get_pin(5), mcp.get_pin(5), mcp.get_pin(6), mcp.get_pin(7), mcp.get_pin(8), mcp.get_pin(9), mcp.get_pin(10), mcp.get_pin(11), mcp.get_pin(12), mcp.get_pin(13), mcp.get_pin(14))
keyboard.col_pins = (mcp.get_pin(8), mcp.get_pin(9), mcp.get_pin(10), mcp.get_pin(11), mcp.get_pin(12), mcp.get_pin(13), mcp.get_pin(14), mcp.get_pin(15), mcp.get_pin(4), mcp.get_pin(5), mcp.get_pin(6), mcp.get_pin(7), mcp.get_pin(3), mcp.get_pin(2), mcp.get_pin(1), )
keyboard.row_pins = (board.D7, board.D6, board.D5, board.D3, board.D2)
keyboard.diode_orientation = DiodeOrientation.COLUMNS
@ -71,3 +71,4 @@ keyboard.keymap = [
if __name__ == '__main__':
keyboard.go(hid_type=HIDModes.BLE, ble_name='Lab68')
# keyboard.go(hid_type=HIDModes.USB)