# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}),' layouts.append({'layout': STANDARD_LAYOUT, 'num_keys': 42}) keyboard = Keyboard(name='minorca', description='Minorca keyboard', firmware_folder='minorca', layouts=layouts)
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}),' layouts.append({'layout':STANDARD_LAYOUT, 'num_keys':13}) SINGLES_LAYOUT = 'SINGLES_KEYMAP({}, {}, {}, {},' SINGLES_LAYOUT += '{}, {}, {}, {},' SINGLES_LAYOUT += '{}, {}, {}, {},' SINGLES_LAYOUT += '{}, {}, {}, {}),' layouts.append({'layout':SINGLES_LAYOUT, 'num_keys':16}) keyboard = Keyboard( name='roadkit', description='Roadkit Round 1 PCBs', firmware_folder='roadkit', layouts=layouts )
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}),' layouts.append({'layout':STANDARD_LAYOUT, 'num_keys':44}) ARROW_LAYOUT = 'KEYMAP_ARROW({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}),' layouts.append({'layout':ARROW_LAYOUT, 'num_keys':45}) keyboard = Keyboard( name='minivan_rev3', description='MiniVan Round 3 and 4 PCBs', firmware_folder='tv44-rev3', layouts=layouts )
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}),' layouts.append({'layout': STANDARD_LAYOUT, 'num_keys': 44}) ARROW_LAYOUT = 'KEYMAP_ARROW({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}),' layouts.append({'layout': ARROW_LAYOUT, 'num_keys': 45}) keyboard = Keyboard(name='caravan', description='CaraVan R1 PCBs', firmware_folder='caravan', layouts=layouts)
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}, {11}, {12},' # 13 STANDARD_LAYOUT += '{14}, {15}, {16}, {17}, {18}, {19}, {20}, {21}, {22}, {23}, {24}, {25}, {26},' # 13 STANDARD_LAYOUT += '{27}, {28}, {29}, {30}, {31}, {32}, {33}, {34}, {35}, {36}, {37}, {38}, {39},' # 13 STANDARD_LAYOUT += '{40}, {41}, {42}, {43}, {44}, {45}, {46}, {47}, {48}, {49}, {50}, {51}, {52},' # 13 STANDARD_LAYOUT += '{53}, {54}, {55}, {56}, {57}, {58}, {59}, {60}, {61}, {13}),' # 10 layouts.append({'layout':STANDARD_LAYOUT, 'num_keys':62}) keyboard = Keyboard( name='provan', description='ProVan 60 PCB', firmware_folder='provan', layouts=layouts )
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}),' layouts.append({'layout': STANDARD_LAYOUT, 'num_keys': 44}) ARROW_LAYOUT = 'KEYMAP_ARROW({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' ARROW_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}),' layouts.append({'layout': ARROW_LAYOUT, 'num_keys': 45}) keyboard = Keyboard(name='minivan_rev1', description='MiniVan Round 1 and Round 2 PCBs', firmware_folder='tv44', layouts=layouts)
'{' + str(52 + bs + lshift) + '}', '{' + str(53 + bs + lshift) + '}', '{' + str(53 + bs + lshift + rshift) + '}', '{' + str(54 + bs + lshift + rshift) + '}', '{' + str(55 + bs + lshift + rshift) + '}', '{' + str(56 + bs + lshift + rshift) + '}', '{' + str(56 + bs + lshift + rshift + space) + '}', '{' + str(57 + bs + lshift + rshift + space) + '}', '{' + str(57 + bs + lshift + rshift + space + space) + '}', '{' + str(58 + bs + lshift + rshift + space + space) + '}', '{' + str(59 + bs + lshift + rshift + space + space) + '}', '{' + str(59 + bs + lshift + rshift + space + space + singles) + '}', '{' + str(60 + bs + lshift + rshift + space + space + singles) + '}') def getNumKeys(activeLayout): bs = 1 if (activeLayout & 256) > 0 else 0 lshift = 1 if (activeLayout & 32) > 0 else 0 rshift = 1 if (activeLayout & 24) > 0 else 0 space = 1 if (activeLayout & 6) > 0 else 0 singles = activeLayout & 1 return 61 + bs + lshift + rshift + space + space + singles keyboard = Keyboard(name='bananasplit', description='BananaSplit 60 PCB', firmware_folder='bananasplit', layouts=layouts, get_layout=getLayout, get_num_keys=getNumKeys)
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({0},{1},{2},{3},{4},{5},{6},' STANDARD_LAYOUT += '{14},{15},{16},{17},{18},{19},{20},' STANDARD_LAYOUT += '{28},{29},{30},{31},{32},{33},' STANDARD_LAYOUT += '{40},{41},{42},{43},{44},{45},{46},' STANDARD_LAYOUT += '{54},{55},{56},{57},{58},' STANDARD_LAYOUT += '{64},{65},' STANDARD_LAYOUT += '{68},' STANDARD_LAYOUT += '{70},{71},{72},' STANDARD_LAYOUT += '{7},{8},{9},{10},{11},{12},{13},' STANDARD_LAYOUT += '{21},{22},{23},{24},{25},{26},{27},' STANDARD_LAYOUT += '{34},{35},{36},{37},{38},{39},' STANDARD_LAYOUT += '{47},{48},{49},{50},{51},{52},{53},' STANDARD_LAYOUT += '{59},{60},{61},{62},{63},' STANDARD_LAYOUT += '{66},{67},' STANDARD_LAYOUT += '{69},' STANDARD_LAYOUT += '{73},{74},{75}),' layouts.append({'layout': STANDARD_LAYOUT, 'num_keys': 76}) keyboard = Keyboard(name='ergodox', description='Ergodox Teensy PCB', firmware_folder='ergodox', layouts=layouts)
# coding: utf8 from common import Keyboard layouts = [] STANDARD_LAYOUT = 'KEYMAP({}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},' STANDARD_LAYOUT += '{}, {}, {}),' layouts.append({'layout':STANDARD_LAYOUT, 'num_keys':41}) keyboard = Keyboard( name='transitvan', description='Handwired TransitVan', firmware_folder='transitvan', layouts=layouts )