-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #555 from lesshonor/new-keymap/puckbuddy
feat: vial keymap for mechwild/puckbuddy
- Loading branch information
Showing
3 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright 2022 Kyle McCreery (@kylemccreery) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
#define VIAL_KEYBOARD_UID {0x5C, 0x46, 0x5D, 0x32, 0xF6, 0xD3, 0x42, 0xCA} | ||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 } | ||
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"keyboard": "mechwild/puckbuddy", | ||
"keymap": "vial", | ||
"version": 1, | ||
"layout": "LAYOUT", | ||
"layers": [ | ||
[ | ||
"KC_MUTE", "KC_TRNS", "MO(2)", "MO(1)", "LGUI(KC_D)", | ||
"MO(1)", "KC_HOME", | ||
"MO(2)", "KC_END", | ||
"KC_BTN3", "KC_BTN1", "KC_BTN2", "KC_BTN2", "KC_BTN1", "DPI_FINE" | ||
], | ||
[ | ||
"RGB_TOG", "KC_TRNS", "KC_TRNS", "KC_TRNS", "TAP_TOG", | ||
"DPI_UP", "TAP_UP", | ||
"DPI_DN", "TAP_DN", | ||
"KC_TRNS", "KC_HOME", "KC_PGUP", "KC_PGDN", "KC_END", "KC_TRNS" | ||
], | ||
[ | ||
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "RGB_TOG", | ||
"KC_TRNS", "RGB_MOD", | ||
"KC_TRNS", "RGB_RMOD", | ||
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS" | ||
] | ||
], | ||
"config": { | ||
"features": { | ||
"via": true, | ||
"vial": true, | ||
"encoder_map": true | ||
} | ||
}, | ||
"encoders": [ | ||
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGDN", "cw": "KC_PGUP"}], | ||
[{"ccw": "DPI_DN", "cw": "DPI_UP"}, {"ccw": "TAP_DN", "cw": "TAP_UP"}], | ||
[{"ccw": "KC_TRNS", "cw": "KC_TRNS"}, {"ccw": "KC_TRNS", "cw": "KC_TRNS"}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"lighting": "qmk_rgblight", | ||
"matrix": { "rows": 4, "cols": 4 }, | ||
"customKeycodes": [ | ||
{ | ||
"name": "DPI_UP", | ||
"title": "Increase the DPI of the touchpad.", | ||
"shortName": "DPI\nDown" | ||
}, | ||
{ | ||
"name": "DPI_DN", | ||
"title": "Decrease the DPI of the touchpad.", | ||
"shortName": "DPI\nUp" | ||
}, | ||
{ | ||
"name": "DPI_FINE", | ||
"title": "While held, drops the DPI to minimum.", | ||
"shortName": "Sniper\nMode" | ||
}, | ||
{ | ||
"name": "TAP_UP", | ||
"title": "Increase the tapping term. This affects mod/layer-tap timing.", | ||
"shortname": "Tap Term\nUp" | ||
}, | ||
{ | ||
"name": "TAP_DN", | ||
"title": "Decrease the tapping term. This affects mod/layer-tap timing.", | ||
"shortname": "Tap Term\nDown" | ||
}, | ||
{ | ||
"name": "TAP_ON", | ||
"title": "Enable tap to click on touchpad.", | ||
"shortname": "Tap-Click\nOn" | ||
}, | ||
{ | ||
"name": "TP_OFF", | ||
"title": "Disable tap to click on touchpad.", | ||
"shortname": "Tap-Click\nOff" | ||
}, | ||
{ | ||
"name": "TAP_TOG", | ||
"title": "Toggle touchpad tap clicking on/off.", | ||
"shortname": "Tap-Click\nToggle" | ||
} | ||
], | ||
"layouts": { | ||
"keymap": [ | ||
["0,1\n\n\n\n\n\n\n\n\ne",{"x":6.5},"1,1\n\n\n\n\n\n\n\n\ne"], | ||
[{"y":-0.5,"x":1.25},"0,0",{"x":0.5},"0,1","1,1","2,1",{"x":0.5},"0,2"], | ||
[{"y":-0.5},"0,0\n\n\n\n\n\n\n\n\ne",{"x":6.5},"1,0\n\n\n\n\n\n\n\n\ne"], | ||
[{"y":-0.25,"x":1.25},"1,0",{"x":4},"1,2"], | ||
[{"x":1.25},"2,0",{"x":4},"2,2"], | ||
[{"x":1.25},"3,0",{"x":4},"3,2"], | ||
[{"y":0.25,"x":2.25},"0,3","1,3","2,3","3,3"] | ||
] | ||
} | ||
} |