Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Adding osav2_numpad.json #1892

Merged
merged 2 commits into from
Jun 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
175 changes: 175 additions & 0 deletions v3/viktus/osav2_numpad/osav2_numpad.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
{
"name": "OSAv2 Numpad",
"vendorId": "0x5644",
"productId": "0x4F4E",
"keycodes": [ "qmk_lighting" ],
"menus": [
{
"label": "Lighting",
"content": [
{
"label": "Underglow",
"content": [
{
"label": "Brightness",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgblight_brightness", 2, 1]
},
{
"label": "Effect",
"type": "dropdown",
"content": ["id_qmk_rgblight_effect", 2, 2],
"options": [
"All Off",
"Solid Color",
"Breathing 1",
"Breathing 2",
"Breathing 3",
"Breathing 4",
"Rainbow Swirl 1",
"Rainbow Swirl 2",
"Rainbow Swirl 3",
"Rainbow Swirl 4",
"Rainbow Swirl 5",
"Rainbow Swirl 6",
"Twinkle 1",
"Twinkle 2",
"Twinkle 3",
"Twinkle 4",
"Twinkle 5",
"Twinkle 6"
]
},
{
"showIf": "{id_qmk_rgblight_effect} != 0",
"label": "Effect Speed",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgblight_effect_speed", 2, 3]
},
{
"showIf": "{id_qmk_rgblight_effect} != 0 && {id_qmk_rgblight_effect} != 35",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgblight_color", 2, 4]
}
]
}
]
}
],
"matrix": {
"rows": 5,
"cols": 4
},
"layouts": {
"labels": [
["Plus", "2U", "Split"], ["Enter", "Vertical 2U", "Horizontal 2U", "Split"], ["Mirrored Plus", "Split", "2U"], ["Mirrored Enter", "Horizontal 2U", "Vertical 2U", "Split"]
],
"keymap": [
[
{
"x":1.25
},
"0,0",
"0,1",
"0,2",
"0,3"
],
[
{
"h":2
},
"2,0\n\n\n3,1",
{
"x":0.25
},
"1,0\n\n\n3,0",
"1,1",
"1,2",
{
"h":2
},
"2,3\n\n\n0,0",
{
"x":0.25
},
"1,3\n\n\n0,1"
],
[
{
"x":1.25
},
"2,0\n\n\n3,0",
"2,1",
"2,2",
{
"x":1.25
},
"2,3\n\n\n0,1"
],
[
{
"x":1.25
},
"3,0\n\n\n2,0",
"3,1",
"3,2",
{
"h":2
},
"4,3\n\n\n1,0"
],
[
{
"x":1.25,
"w":2
},
"4,1\n\n\n2,0",
"4,2\n\n\n1,0"
],
[
{
"y":-0.75,
"h":2
},
"4,0\n\n\n2,1",
{
"x":4.5
},
"3,3\n\n\n1,1"
],
[
{
"x":1
},
"4,1\n\n\n2,1",
{
"x":2.5,
"w":2
},
"4,2\n\n\n1,1"
],
[
{
"y":0.25
},
"3,0\n\n\n2,2",
{
"x":4.5
},
"3,3\n\n\n1,2"
],
[
"4,0\n\n\n2,2",
"4,1\n\n\n2,2",
{
"x":2.5
},
"4,2\n\n\n1,2",
"4,3\n\n\n1,2"
]
]
}
}