Skip to content

Commit

Permalink
Add VIA support for acr87. (#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonylee1986 authored Jun 24, 2023
1 parent f87c4b8 commit 33d71d5
Showing 1 changed file with 263 additions and 0 deletions.
263 changes: 263 additions & 0 deletions v3/akko/acr87/acr87.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
{
"name": "Akko Keyboard",
"vendorId": "0xFFFE",
"productId": "0x0010",
"keycodes": ["qmk_lighting"],
"menus": [
{
"label": "Lighting",
"content": [
{
"label": "Backlight",
"content": [
{
"label": "Brightness",
"type": "range",
"options": [0, 200],
"content": ["id_qmk_rgb_matrix_brightness", 3, 1]
},
{
"label": "Effect",
"type": "dropdown",
"content": ["id_qmk_rgb_matrix_effect", 3, 2],
"options": [
["All Off", 0],
["SOLID_COLOR", 1],
["BREATHING", 2],
["CYCLE_ALL", 3],
["CYCLE_LEFT_RIGHT", 4],
["CYCLE_UP_DOWN", 5],
["RAINBOW_MOVING_CHEVRON", 6],
["CYCLE_OUT_IN", 7],
["CYCLE_OUT_IN_DUAL", 8],
["CYCLE_PINWHEEL", 9],
["CYCKE_SPIRAL", 10],
["DUAL_BEACON", 11],
["RAINBOW_BEACON", 12],
["RAINDROPS", 13],
["TYPING_HEATMAP", 14],
["SOLID_REACTIVE_SIMPLE", 15],
["SOLID_REACTIVE", 16],
["SOLID_REACTIVE_CROSS", 17],
["MATRIX_MULTISPLASH", 18]
]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0",
"label": "Effect Speed",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_effect_speed", 3, 3]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgb_matrix_color", 3, 4]
}
]
}
]
}
],
"matrix": { "rows": 6, "cols": 17 },
"layouts": {
"keymap":[
[
{
"c": "#777777"
},
"0,0",
{
"x": 1,
"c": "#aaaaaa"
},
"0,1",
"0,2",
"0,3",
"0,4",
{
"x": 0.5
},
"0,5",
"0,6",
"0,7",
"0,8",
{
"x": 0.5
},
"0,9",
"0,10",
"0,11",
"0,12",
{
"x": 0.25
},
"0,14",
"0,15",
"0,16"
],
[
{
"y": 0.25,
"c": "#cccccc"
},
"1,0",
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{
"c": "#aaaaaa",
"w": 2
},
"1,13",
{
"x": 0.25
},
"1,14",
"1,15",
"1,16"
],
[
{
"w": 1.5
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
"2,12",
{
"w": 1.5
},
"2,13",
{
"x": 0.25,
"c": "#aaaaaa"
},
"2,14",
"2,15",
"2,16"
],
[
{
"w": 1.75
},
"3,0",
{
"c": "#cccccc"
},
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{
"c": "#777777",
"w": 2.25
},
"3,13"
],
[
{
"c": "#aaaaaa",
"w": 2.25
},
"4,0",
{
"c": "#cccccc"
},
"4,1",
"4,2",
"4,3",
"4,4",
"4,5",
"4,6",
"4,7",
"4,8",
"4,9",
"4,10",
{
"c": "#aaaaaa",
"w": 2.75
},
"4,13",
{
"x": 1.25,
"c": "#777777"
},
"4,15"
],
[
{
"c": "#aaaaaa",
"w": 1.25
},
"5,0",
{
"w": 1.25
},
"5,1",
{
"w": 1.25
},
"5,2",
{
"c": "#777777",
"w": 6.25
},
"5,5",
{
"c": "#aaaaaa",
"w": 1.25
},
"5,9",
{
"w": 1.25
},
"5,10",
{
"w": 1.25
},
"5,11",
{
"w": 1.25
},
"5,13",
{
"x": 0.25,
"c": "#777777"
},
"5,14",
"5,15",
"5,16"
]
]
}
}

0 comments on commit 33d71d5

Please sign in to comment.