Skip to content

Commit

Permalink
Add VIA support for top40. (#1905)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonylee1986 authored Jun 18, 2023
1 parent a516c71 commit ee0ceff
Showing 1 changed file with 171 additions and 0 deletions.
171 changes: 171 additions & 0 deletions v3/akko/top40/top40.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"name": "Akko Keyboard",
"vendorId": "0xFFFE",
"productId": "0x000E",
"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": 4, "cols": 12 },
"layouts": {
"keymap":[
[
{
"c": "#aaaaaa"
},
"0,0",
{
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
{
"c": "#777777",
"w": 1.75
},
"0,11"
],
[
{
"w": 1.25
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
{
"c": "#777777",
"w": 1.5
},
"1,11"
],
[
{
"w": 1.75
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
{
"c": "#aaaaaa"
},
"2,10",
{
"c": "#777777"
},
"2,11"
],
[
{
"w": 1.25
},
"3,0",
{
"w": 1.25
},
"3,1",
{
"w": 1.25
},
"3,2",
{
"w": 2.25
},
"3,5",
{
"w": 2.75
},
"3,7",
"3,8",
{
"c": "#aaaaaa"
},
"3,9",
"3,10",
"3,11"
]
]
}
}

0 comments on commit ee0ceff

Please sign in to comment.