keyboard.json (2835B)
1 { 2 "keyboard_name": "4by3", 3 "manufacturer": "Elias Sj\u00f6green", 4 "url": "https://github.com/eliassjogreen/4by3", 5 "maintainer": "eliassjogreen", 6 "usb": { 7 "vid": "0xEEEE", 8 "pid": "0x2019", 9 "device_version": "0.0.1" 10 }, 11 "features": { 12 "bootmagic": false, 13 "command": true, 14 "console": true, 15 "extrakey": true, 16 "mousekey": false, 17 "nkro": true 18 }, 19 "matrix_pins": { 20 "cols": ["C6", "D7", "E6", "B4"], 21 "rows": ["D1", "D0", "D4"] 22 }, 23 "diode_direction": "COL2ROW", 24 "development_board": "promicro", 25 "layout_aliases": { 26 "LAYOUT": "LAYOUT_horizontal" 27 }, 28 "layouts": { 29 "LAYOUT_horizontal": { 30 "layout": [ 31 {"matrix": [0, 0], "x": 0, "y": 0}, 32 {"matrix": [0, 1], "x": 1, "y": 0}, 33 {"matrix": [0, 2], "x": 2, "y": 0}, 34 {"matrix": [0, 3], "x": 3, "y": 0}, 35 36 {"matrix": [1, 0], "x": 0, "y": 1}, 37 {"matrix": [1, 1], "x": 1, "y": 1}, 38 {"matrix": [1, 2], "x": 2, "y": 1}, 39 {"matrix": [1, 3], "x": 3, "y": 1}, 40 41 {"matrix": [2, 0], "x": 0, "y": 2}, 42 {"matrix": [2, 1], "x": 1, "y": 2}, 43 {"matrix": [2, 2], "x": 2, "y": 2}, 44 {"matrix": [2, 3], "x": 3, "y": 2} 45 ] 46 }, 47 "LAYOUT_vertical_right": { 48 "layout": [ 49 {"matrix": [2, 0], "x": 0, "y": 0}, 50 {"matrix": [1, 0], "x": 1, "y": 0}, 51 {"matrix": [0, 0], "x": 2, "y": 0}, 52 53 {"matrix": [2, 1], "x": 0, "y": 1}, 54 {"matrix": [1, 1], "x": 1, "y": 1}, 55 {"matrix": [0, 1], "x": 2, "y": 1}, 56 57 {"matrix": [2, 2], "x": 0, "y": 2}, 58 {"matrix": [1, 2], "x": 1, "y": 2}, 59 {"matrix": [0, 2], "x": 2, "y": 2}, 60 61 {"matrix": [2, 3], "x": 0, "y": 3}, 62 {"matrix": [1, 3], "x": 1, "y": 3}, 63 {"matrix": [0, 3], "x": 2, "y": 3} 64 ] 65 }, 66 "LAYOUT_vertical_left": { 67 "layout": [ 68 {"matrix": [0, 3], "x": 0, "y": 0}, 69 {"matrix": [1, 3], "x": 1, "y": 0}, 70 {"matrix": [2, 3], "x": 2, "y": 0}, 71 72 {"matrix": [0, 2], "x": 0, "y": 1}, 73 {"matrix": [1, 2], "x": 1, "y": 1}, 74 {"matrix": [2, 2], "x": 2, "y": 1}, 75 76 {"matrix": [0, 1], "x": 0, "y": 2}, 77 {"matrix": [1, 1], "x": 1, "y": 2}, 78 {"matrix": [2, 1], "x": 2, "y": 2}, 79 80 {"matrix": [0, 0], "x": 0, "y": 3}, 81 {"matrix": [1, 0], "x": 1, "y": 3}, 82 {"matrix": [2, 0], "x": 2, "y": 3} 83 ] 84 } 85 } 86 }