diff --git a/boards/tg4x/kb.py b/boards/tg4x/kb.py index 54cf412..ff2d8e6 100644 --- a/boards/tg4x/kb.py +++ b/boards/tg4x/kb.py @@ -29,14 +29,54 @@ class KMKKeyboard(_KMKKeyboard): rgb_pixel_pin = pins[1] rgb_num_pixels = 7 i2c = board.I2C - ## large keys + # large keys coord_mapping = [ - 0 ,1 ,2 ,3 ,4 ,5 ,6 ,28,29,30,31,33, - 7 ,8 ,9 ,10,11,12,13,35,36,37,38,39, - 14,15,16,17,18,19,20,42,43,44,46, - 21,22,23,25,26,50,51,52,53 - ] - #all keys + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 28, + 29, + 30, + 31, + 33, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 35, + 36, + 37, + 38, + 39, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 42, + 43, + 44, + 46, + 21, + 22, + 23, + 25, + 26, + 50, + 51, + 52, + 53, + ] + # all keys # coord_mapping = [ # 0 ,1 ,2 ,3 ,4 ,5 ,6 ,28,29,30,31,32,33, # 7 ,8 ,9 ,10,11,12,13,35,36,37,38,39,