qmk_firmware/keyboards/tgr/alice/keyboard.json

220 lines
7.6 KiB
JSON
Raw Normal View History

2019-01-22 00:15:46 +00:00
{
"keyboard_name": "Alice",
"manufacturer": "TGR",
2019-01-22 00:15:46 +00:00
"url": "",
"maintainer": "Felipe Coury",
"usb": {
"vid": "0x20A0",
"pid": "0x422E",
"device_version": "2.0.0"
},
"features": {
"backlight": true,
"bootmagic": true,
"command": true,
"console": false,
"extrakey": true,
"mousekey": false,
"nkro": false,
"rgblight": true
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],
"rows": ["B0", "B1", "B2", "B3", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "D4"
},
"rgblight": {
"led_count": 18,
"animations": {
"breathing": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"snake": true,
"knight": true,
"christmas": true,
"static_gradient": true,
"rgb_test": true,
"alternating": true,
"twinkle": true
}
},
"ws2812": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
"scroll_lock": "D6"
},
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["alice", "alice_split_bs"],
"layout_aliases": {
"LAYOUT": "LAYOUT_alice_split_bs"
},
2019-01-22 00:15:46 +00:00
"layouts": {
"LAYOUT_alice": {
"layout": [
{"matrix": [5, 0], "x": 0, "y": 0},
{"matrix": [0, 0], "x": 1.25, "y": 0},
{"matrix": [0, 1], "x": 2.25, "y": 0},
{"matrix": [0, 2], "x": 3.25, "y": 0},
{"matrix": [0, 3], "x": 4.25, "y": 0},
{"matrix": [0, 4], "x": 5.25, "y": 0},
{"matrix": [0, 5], "x": 6.25, "y": 0},
{"matrix": [0, 6], "x": 7.25, "y": 0},
{"matrix": [0, 7], "x": 10.25, "y": 0},
{"matrix": [0, 8], "x": 11.25, "y": 0},
{"matrix": [0, 9], "x": 12.25, "y": 0},
{"matrix": [0, 10], "x": 13.25, "y": 0},
{"matrix": [0, 11], "x": 14.25, "y": 0},
{"matrix": [0, 12], "x": 15.25, "y": 0},
{"matrix": [0, 13], "x": 16.25, "y": 0, "w": 2},
{"matrix": [5, 1], "x": 0, "y": 1},
{"matrix": [1, 0], "x": 1.25, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 2.75, "y": 1},
{"matrix": [1, 2], "x": 3.75, "y": 1},
{"matrix": [1, 3], "x": 4.75, "y": 1},
{"matrix": [1, 4], "x": 5.75, "y": 1},
{"matrix": [1, 5], "x": 6.75, "y": 1},
{"matrix": [1, 6], "x": 9.75, "y": 1},
{"matrix": [1, 7], "x": 10.75, "y": 1},
{"matrix": [1, 8], "x": 11.75, "y": 1},
{"matrix": [1, 9], "x": 12.75, "y": 1},
{"matrix": [1, 10], "x": 13.75, "y": 1},
{"matrix": [1, 11], "x": 14.75, "y": 1},
{"matrix": [1, 12], "x": 15.75, "y": 1},
{"matrix": [1, 13], "x": 16.75, "y": 1, "w": 1.5},
{"matrix": [5, 2], "x": 0, "y": 2},
{"matrix": [2, 0], "x": 1.25, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 3, "y": 2},
{"matrix": [2, 2], "x": 4, "y": 2},
{"matrix": [2, 3], "x": 5, "y": 2},
{"matrix": [2, 4], "x": 6, "y": 2},
{"matrix": [2, 5], "x": 7, "y": 2},
{"matrix": [2, 6], "x": 10, "y": 2},
{"matrix": [2, 7], "x": 11, "y": 2},
{"matrix": [2, 8], "x": 12, "y": 2},
{"matrix": [2, 9], "x": 13, "y": 2},
{"matrix": [2, 10], "x": 14, "y": 2},
{"matrix": [2, 11], "x": 15, "y": 2},
{"matrix": [2, 12], "x": 16, "y": 2, "w": 2.25},
{"matrix": [3, 0], "x": 1.25, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 3.5, "y": 3},
{"matrix": [3, 2], "x": 4.5, "y": 3},
{"matrix": [3, 3], "x": 5.5, "y": 3},
{"matrix": [3, 4], "x": 6.5, "y": 3},
{"matrix": [3, 5], "x": 7.5, "y": 3},
{"matrix": [3, 6], "x": 9.5, "y": 3},
{"matrix": [3, 7], "x": 10.5, "y": 3},
{"matrix": [3, 8], "x": 11.5, "y": 3},
{"matrix": [3, 9], "x": 12.5, "y": 3},
{"matrix": [3, 10], "x": 13.5, "y": 3},
{"matrix": [3, 11], "x": 14.5, "y": 3},
{"matrix": [3, 12], "x": 15.5, "y": 3, "w": 1.75},
{"matrix": [3, 13], "x": 17.25, "y": 3},
{"matrix": [4, 0], "x": 1.25, "y": 4, "w": 1.5},
{"matrix": [4, 1], "x": 4.25, "y": 4, "w": 1.5},
{"matrix": [4, 2], "x": 5.75, "y": 4, "w": 2},
{"matrix": [4, 3], "x": 7.75, "y": 4, "w": 1.25},
{"matrix": [4, 6], "x": 9.5, "y": 4, "w": 2.75},
{"matrix": [4, 7], "x": 12.25, "y": 4, "w": 1.5},
{"matrix": [4, 8], "x": 16.75, "y": 4, "w": 1.5}
]
},
Rework LAYOUT_alice support; add LAYOUT_alice_split_bs (#11106) * Add LAYOUT_alice support: fallacy * Add LAYOUT_alice support: kb_elmo/sesame * Add LAYOUT_alice support: cheshire/curiosity * Add LAYOUT_alice support: evyd13/wonderland * Add LAYOUT_alice support: mechlovin/adelais * Update LAYOUT_alice support: projectkb/alice The PR that added Alice community layout support for the projectkb/alice/rev2 simultaneously broke support for every other keyboard that supported LAYOUT_alice. This commit partially reverts the offending PR. `LAYOUT_alice` for the projectkb/alice has been renamed to `LAYOUT_alice_split_bs`, and a correct 65-key `LAYOUT_alice` has been added. Additionally, the `LAYOUTS` rule has been moved to keyboard level as the layout macros are shared between rev1 and rev2 boards, which means the layout options are the same for both revisions. * Update ramonimbao/aelith info.json Keyboard source was already correct to support LAYOUT_alice, but the layout tree was missing from info.json. * Fork `alice` Community Layout... ... into Standard and Split Backspace versions Also updates stanrc85's layout keymap to use 65 keys instead of the Split Backspace 66-key version. * Update LAYOUT_alice support: sneakbox/aliceclone Rework the sneakbox/aliceclone to use the Split Backspace Alice layout. * Update LAYOUT_alice support: zoo/wampus The layout macro that was `LAYOUT_alice` was 66 keys. This layout macro has been renamed to `LAYOUT_alice_split_bs`, and a 65-key `LAYOUT_alice` has been added. Additionally, the 66-key macro has been rearranged to accept its keycodes in the intended order for Community Layout support. * Update keyboards for `LAYOUT_alice_split_bs` support * LAYOUT_alice_split_bs support: ergosaurus * LAYOUT_alice_split_bs support: handwired/colorlice * LAYOUT_alice(_split_bs) support: handwired/owlet60 * LAYOUT_alice_split_bs support: nightly_boards/alter/rev1 * LAYOUT_alice(_split_bs) support: sck/osa * LAYOUT_alice_split_bs support: tgr/alice * LAYOUT_alice(_split_bs) support: tkc/osav2 * LAYOUT_alice_split_bs support: xelus/valor/rev1
2020-12-03 22:07:41 +00:00
"LAYOUT_alice_split_bs": {
"layout": [
{"matrix": [5, 0], "x": 0, "y": 0},
{"matrix": [0, 0], "x": 1.25, "y": 0},
{"matrix": [0, 1], "x": 2.25, "y": 0},
{"matrix": [0, 2], "x": 3.25, "y": 0},
{"matrix": [0, 3], "x": 4.25, "y": 0},
{"matrix": [0, 4], "x": 5.25, "y": 0},
{"matrix": [0, 5], "x": 6.25, "y": 0},
{"matrix": [0, 6], "x": 7.25, "y": 0},
{"matrix": [0, 7], "x": 10.25, "y": 0},
{"matrix": [0, 8], "x": 11.25, "y": 0},
{"matrix": [0, 9], "x": 12.25, "y": 0},
{"matrix": [0, 10], "x": 13.25, "y": 0},
{"matrix": [0, 11], "x": 14.25, "y": 0},
{"matrix": [0, 12], "x": 15.25, "y": 0},
{"matrix": [0, 13], "x": 16.25, "y": 0},
{"matrix": [0, 14], "x": 17.25, "y": 0},
{"matrix": [5, 1], "x": 0, "y": 1},
{"matrix": [1, 0], "x": 1.25, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 2.75, "y": 1},
{"matrix": [1, 2], "x": 3.75, "y": 1},
{"matrix": [1, 3], "x": 4.75, "y": 1},
{"matrix": [1, 4], "x": 5.75, "y": 1},
{"matrix": [1, 5], "x": 6.75, "y": 1},
{"matrix": [1, 6], "x": 9.75, "y": 1},
{"matrix": [1, 7], "x": 10.75, "y": 1},
{"matrix": [1, 8], "x": 11.75, "y": 1},
{"matrix": [1, 9], "x": 12.75, "y": 1},
{"matrix": [1, 10], "x": 13.75, "y": 1},
{"matrix": [1, 11], "x": 14.75, "y": 1},
{"matrix": [1, 12], "x": 15.75, "y": 1},
{"matrix": [1, 13], "x": 16.75, "y": 1, "w": 1.5},
{"matrix": [5, 2], "x": 0, "y": 2},
{"matrix": [2, 0], "x": 1.25, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 3, "y": 2},
{"matrix": [2, 2], "x": 4, "y": 2},
{"matrix": [2, 3], "x": 5, "y": 2},
{"matrix": [2, 4], "x": 6, "y": 2},
{"matrix": [2, 5], "x": 7, "y": 2},
{"matrix": [2, 6], "x": 10, "y": 2},
{"matrix": [2, 7], "x": 11, "y": 2},
{"matrix": [2, 8], "x": 12, "y": 2},
{"matrix": [2, 9], "x": 13, "y": 2},
{"matrix": [2, 10], "x": 14, "y": 2},
{"matrix": [2, 11], "x": 15, "y": 2},
{"matrix": [2, 12], "x": 16, "y": 2, "w": 2.25},
{"matrix": [3, 0], "x": 1.25, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 3.5, "y": 3},
{"matrix": [3, 2], "x": 4.5, "y": 3},
{"matrix": [3, 3], "x": 5.5, "y": 3},
{"matrix": [3, 4], "x": 6.5, "y": 3},
{"matrix": [3, 5], "x": 7.5, "y": 3},
{"matrix": [3, 6], "x": 9.5, "y": 3},
{"matrix": [3, 7], "x": 10.5, "y": 3},
{"matrix": [3, 8], "x": 11.5, "y": 3},
{"matrix": [3, 9], "x": 12.5, "y": 3},
{"matrix": [3, 10], "x": 13.5, "y": 3},
{"matrix": [3, 11], "x": 14.5, "y": 3},
{"matrix": [3, 12], "x": 15.5, "y": 3, "w": 1.75},
{"matrix": [3, 13], "x": 17.25, "y": 3},
{"matrix": [4, 0], "x": 1.25, "y": 4, "w": 1.5},
{"matrix": [4, 1], "x": 4.25, "y": 4, "w": 1.5},
{"matrix": [4, 2], "x": 5.75, "y": 4, "w": 2},
{"matrix": [4, 3], "x": 7.75, "y": 4, "w": 1.25},
{"matrix": [4, 6], "x": 9.5, "y": 4, "w": 2.75},
{"matrix": [4, 7], "x": 12.25, "y": 4, "w": 1.5},
{"matrix": [4, 8], "x": 16.75, "y": 4, "w": 1.5}
]
2019-01-22 00:15:46 +00:00
}
}
}