Sync keyboards with qmk, switch via->vial keymap where applicable
This commit is contained in:
parent
2fc27b48b6
commit
88bf44797d
122 changed files with 983 additions and 1044 deletions
54
keyboards/3by2/keymaps/vial/keymap.c
Normal file
54
keyboards/3by2/keymaps/vial/keymap.c
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
#include "raw_hid.h"
|
||||
#include "quantum.h"
|
||||
|
||||
#define ____ KC_TRNS
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_F13 , KC_F14 , KC_F15,
|
||||
KC_F16 , KC_F17 , KC_F18
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
____, ____, ____,
|
||||
____, ____, ____
|
||||
),
|
||||
|
||||
[2] = LAYOUT(
|
||||
____, ____, ____,
|
||||
____, ____, ____
|
||||
),
|
||||
|
||||
[3] = LAYOUT(
|
||||
____, ____, ____,
|
||||
____, ____, ____
|
||||
),
|
||||
|
||||
};
|
||||
|
||||
void raw_hid_receive_kb(uint8_t *data, uint8_t length) {
|
||||
if(data[0] == 0xFC){
|
||||
switch (data[1]) {
|
||||
case 0x01:{
|
||||
// move to layer
|
||||
data[1] = 0xFD;
|
||||
layer_move(data[2]);
|
||||
break;
|
||||
}
|
||||
case 0x02:{
|
||||
// turn on layer
|
||||
data[1] = 0xFD;
|
||||
layer_on(data[2]);
|
||||
break;
|
||||
}
|
||||
case 0x03:{
|
||||
// turn off layer
|
||||
data[1] = 0xFD;
|
||||
layer_off(data[2]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
raw_hid_send(data, length);
|
||||
}
|
||||
5
keyboards/3by2/keymaps/vial/rules.mk
Normal file
5
keyboards/3by2/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
QMK_SETTINGS = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
COMBO_ENABLE = no
|
||||
24
keyboards/3by2/keymaps/vial/vial.json
Normal file
24
keyboards/3by2/keymaps/vial/vial.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"name": "3by2",
|
||||
"vendorId": "0xEEEE",
|
||||
"productId": "0x2019",
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 2,
|
||||
"cols": 3
|
||||
},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[
|
||||
"0,0",
|
||||
"0,1",
|
||||
"0,2"
|
||||
],
|
||||
[
|
||||
"1,0",
|
||||
"1,1",
|
||||
"1,2"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIAL_ENCODERS_ENABLE = yes
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLIGHT_LAYERS
|
||||
|
||||
/*The 3D-printed version of Boston uses APA106 LEDs, which are reversed */
|
||||
//The 3D-printed version of Boston uses APA106 LEDs, which are reversed
|
||||
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
|
||||
|
||||
/* Define encoder */
|
||||
|
|
@ -73,19 +73,6 @@
|
|||
#define LED_CAPS_LOCK_PIN A1
|
||||
#define LED_SCROLL_LOCK_PIN A2
|
||||
|
||||
/*Vial stuff*/
|
||||
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||
|
||||
#define VIAL_ENCODER_DEFAULT {KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}
|
||||
|
||||
#define VIAL_ENCODER_KEYCODE_DELAY 10
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xB3, 0x30, 0xE4, 0x75, 0xF9, 0x3A, 0x9B, 0x18}
|
||||
|
||||
#define VIAL_UNLOCK_COMBO_ROWS {1, 4}
|
||||
#define VIAL_UNLOCK_COMBO_COLS {0, 13}
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
|
|
|||
12
keyboards/boston/keymaps/vial/config.h
Normal file
12
keyboards/boston/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||
|
||||
#define VIAL_ENCODER_DEFAULT {KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}
|
||||
|
||||
#define VIAL_ENCODER_KEYCODE_DELAY 10
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xB3, 0x30, 0xE4, 0x75, 0xF9, 0x3A, 0x9B, 0x18}
|
||||
|
||||
#define VIAL_UNLOCK_COMBO_ROWS {1, 4}
|
||||
#define VIAL_UNLOCK_COMBO_COLS {0, 13}
|
||||
|
|
@ -17,7 +17,6 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = no
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ GNU General Public License for more details.
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#define VIAL_KEYBOARD_UID {0x13, 0xBB, 0x91, 0xC2, 0x05, 0x96, 0xF0, 0x30}
|
||||
|
||||
#pragma once
|
||||
|
||||
|
|
@ -94,8 +93,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||
|
||||
// Unlock Combo
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 9, 1 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 6, 1 }
|
||||
|
|
|
|||
9
keyboards/bpiphany/frosty_flake/keymaps/vial/config.h
Normal file
9
keyboards/bpiphany/frosty_flake/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x13, 0xBB, 0x91, 0xC2, 0x05, 0x96, 0xF0, 0x30}
|
||||
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||
|
||||
// Unlock Combo
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 9, 1 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 6, 1 }
|
||||
29
keyboards/bpiphany/frosty_flake/keymaps/vial/keymap.c
Normal file
29
keyboards/bpiphany/frosty_flake/keymaps/vial/keymap.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_tkl(\
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, \
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, \
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, \
|
||||
KC_CAPS,KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, \
|
||||
KC_LSFT,KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \
|
||||
KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ),
|
||||
|
||||
[1] = LAYOUT_tkl(\
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, \
|
||||
_______,_______,_______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, \
|
||||
_______,_______,_______, _______, _______, _______ , _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[2] = LAYOUT_tkl(\
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, \
|
||||
_______,_______,_______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, \
|
||||
_______,_______,_______, _______, _______, _______ , _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
6
keyboards/bpiphany/frosty_flake/keymaps/vial/rules.mk
Normal file
6
keyboards/bpiphany/frosty_flake/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = no
|
||||
COMBO_ENABLE = no
|
||||
QMK_SETTINGS = no
|
||||
185
keyboards/bpiphany/frosty_flake/keymaps/vial/vial.json
Normal file
185
keyboards/bpiphany/frosty_flake/keymaps/vial/vial.json
Normal file
|
|
@ -0,0 +1,185 @@
|
|||
{
|
||||
"name": "Frosty Flake",
|
||||
"vendorId": "0xFEED",
|
||||
"productId": "0x6060",
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 18,
|
||||
"cols": 8
|
||||
},
|
||||
"layouts": {
|
||||
"keymap":[
|
||||
[
|
||||
"9,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"8,4",
|
||||
"7,4",
|
||||
"7,2",
|
||||
"7,6",
|
||||
{
|
||||
"x": 0.5
|
||||
},
|
||||
"0,7",
|
||||
"4,6",
|
||||
"3,2",
|
||||
"3,4",
|
||||
{
|
||||
"x": 0.5
|
||||
},
|
||||
"1,4",
|
||||
"1,7",
|
||||
"1,6",
|
||||
"1,0",
|
||||
{
|
||||
"x": 0.25
|
||||
},
|
||||
"2,7",
|
||||
"2,5",
|
||||
"0,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": 0.5
|
||||
},
|
||||
"9,4",
|
||||
"9,7",
|
||||
"8,7",
|
||||
"7,7",
|
||||
"6,7",
|
||||
"6,4",
|
||||
"5,4",
|
||||
"5,7",
|
||||
"4,7",
|
||||
"3,7",
|
||||
"17,7",
|
||||
"17,4",
|
||||
"4,4",
|
||||
{
|
||||
"w": 2
|
||||
},
|
||||
"1,2",
|
||||
{
|
||||
"x": 0.25
|
||||
},
|
||||
"11,4",
|
||||
"14,4",
|
||||
"16,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"9,2",
|
||||
"9,5",
|
||||
"8,5",
|
||||
"7,5",
|
||||
"6,5",
|
||||
"6,2",
|
||||
"5,2",
|
||||
"5,5",
|
||||
"4,5",
|
||||
"3,5",
|
||||
"17,5",
|
||||
"17,2",
|
||||
"4,2",
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"1,3",
|
||||
{
|
||||
"x": 0.25
|
||||
},
|
||||
"10,4",
|
||||
"14,7",
|
||||
"16,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.75
|
||||
},
|
||||
"8,2",
|
||||
"9,3",
|
||||
"8,3",
|
||||
"7,3",
|
||||
"6,3",
|
||||
"6,6",
|
||||
"5,6",
|
||||
"5,3",
|
||||
"4,3",
|
||||
"3,3",
|
||||
"17,3",
|
||||
"17,6",
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"1,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"13,2",
|
||||
"9,1",
|
||||
"8,1",
|
||||
"7,1",
|
||||
"6,1",
|
||||
"6,0",
|
||||
"5,0",
|
||||
"5,1",
|
||||
"4,1",
|
||||
"3,1",
|
||||
"17,0",
|
||||
{
|
||||
"w": 2.75
|
||||
},
|
||||
"13,3",
|
||||
{
|
||||
"x": 1.25
|
||||
},
|
||||
"14,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"0,4",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"15,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"2,6",
|
||||
{
|
||||
"w": 6.25
|
||||
},
|
||||
"10,6",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"2,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"12,3",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"x": 0.25
|
||||
},
|
||||
"14,0",
|
||||
"10,0",
|
||||
"11,0"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define MANUFACTURER CapsUnlocked
|
||||
#define PRODUCT CU7
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x19, 0xFF, 0xE1, 0x15, 0x74, 0x04, 0x69, 0x00}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 1, 1 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 3
|
||||
#define MATRIX_COLS 3
|
||||
|
|
@ -49,7 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define ENCODERS_PAD_A { D6 }
|
||||
#define ENCODERS_PAD_B { D4 }
|
||||
|
||||
|
||||
#define MATRIX_ROW_PINS { D7, F0, F6 }
|
||||
#define MATRIX_COL_PINS { F5, F7, F4 }
|
||||
#define UNUSED_PINS
|
||||
|
|
|
|||
|
|
@ -33,3 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
{ K10, K11, K12 }, \
|
||||
{ K20, K21, K22 } \
|
||||
}
|
||||
|
||||
|
|
|
|||
5
keyboards/capsunlocked/cu7/keymaps/vial/config.h
Normal file
5
keyboards/capsunlocked/cu7/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x19, 0xFF, 0xE1, 0x15, 0x74, 0x04, 0x69, 0x00}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 1, 1 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
|
||||
39
keyboards/capsunlocked/cu7/keymaps/vial/keymap.c
Normal file
39
keyboards/capsunlocked/cu7/keymaps/vial/keymap.c
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/* Copyright 2021 CapsUnlocked
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
MO(1),
|
||||
KC_1, KC_2, KC_3,
|
||||
KC_4, KC_5, KC_6
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
_______,
|
||||
RGB_MOD, KC_UP, RESET,
|
||||
KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[2] = LAYOUT(
|
||||
_______,
|
||||
_______, _______, _______,
|
||||
_______, _______, _______
|
||||
),
|
||||
[3] = LAYOUT(
|
||||
_______,
|
||||
_______, _______, _______,
|
||||
_______, _______, _______
|
||||
),
|
||||
};
|
||||
7
keyboards/capsunlocked/cu7/keymaps/vial/rules.mk
Normal file
7
keyboards/capsunlocked/cu7/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIAL_ENCODERS_ENABLE = yes
|
||||
QMK_SETTINGS = no
|
||||
TAP_DANCE_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
18
keyboards/capsunlocked/cu7/keymaps/vial/vial.json
Normal file
18
keyboards/capsunlocked/cu7/keymaps/vial/vial.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "CapsUnlocked CU7",
|
||||
"vendorId": "0x4355",
|
||||
"productId": "0x0007",
|
||||
"lighting": "qmk_rgblight",
|
||||
"matrix": {
|
||||
"rows": 3,
|
||||
"cols": 3
|
||||
},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[{"x":0.25},"0,0\n\n\n\n\n\n\n\n\ne",{"x":0.5},"0,1\n\n\n\n\n\n\n\n\ne"],
|
||||
[{"x":1.0},"0,1"],
|
||||
["1,0","1,1","1,2"],
|
||||
["2,0","2,1","2,2"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2021 Harry Herring, Ivan Organista
|
||||
/* Copyright 2020 Harry Herring
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -52,14 +52,3 @@
|
|||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* VIAL Keyboard UID */
|
||||
#define VIAL_KEYBOARD_UID {0xC1, 0x9B, 0x8E, 0x7B, 0x43, 0xD7, 0x61, 0xEE}
|
||||
|
||||
/* VIAL Unlock combo keys */
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 11 }
|
||||
|
||||
/* Encoder default values and delay */
|
||||
#define VIAL_ENCODER_DEFAULT { KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS }
|
||||
#define VIAL_ENCODER_KEYCODE_DELAY 10
|
||||
|
|
@ -1,4 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIAL_ENCODERS_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue