Add vial support for reviung34
This commit is contained in:
parent
68cc1e9e2e
commit
181659621c
5
keyboards/reviung34/keymaps/vial/config.h
Executable file
5
keyboards/reviung34/keymaps/vial/config.h
Executable file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xB8, 0x68, 0xB9, 0x6C, 0x13, 0x2E, 0xA7, 0xDD}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS {0, 3}
|
||||
#define VIAL_UNLOCK_COMBO_COLS {0, 5}
|
25
keyboards/reviung34/keymaps/vial/keymap.c
Executable file
25
keyboards/reviung34/keymaps/vial/keymap.c
Executable file
@ -0,0 +1,25 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_reviung34(
|
||||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
|
||||
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
|
||||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
||||
/* */ KC_BSPC, KC_TAB, /* */ KC_ENT, KC_SPC),
|
||||
[1] = LAYOUT_reviung34(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
/* */ _______, _______, /* */ _______, _______),
|
||||
[2] = LAYOUT_reviung34(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
/* */ _______, _______, /* */ _______, _______),
|
||||
[3] = LAYOUT_reviung34(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
/* */ _______, _______, /* */ _______, _______),
|
||||
|
||||
};
|
9
keyboards/reviung34/keymaps/vial/readme.md
Normal file
9
keyboards/reviung34/keymaps/vial/readme.md
Normal file
@ -0,0 +1,9 @@
|
||||
This will build a firmware with a very simple keymap that includes a base layer that is ready for testing but probably
|
||||
not very useful for real world use.
|
||||
|
||||
```bash
|
||||
make reviung34:vial
|
||||
```
|
||||
|
||||
The kle used to generate the `keymap` value in the `vial.json` file can be found
|
||||
[here](http://www.keyboard-layout-editor.com/#/gists/eb80c7ce072d2e7340ca85351d5e9d64).
|
9
keyboards/reviung34/keymaps/vial/rules.mk
Normal file
9
keyboards/reviung34/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,9 @@
|
||||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
226
keyboards/reviung34/keymaps/vial/vial.json
Normal file
226
keyboards/reviung34/keymaps/vial/vial.json
Normal file
@ -0,0 +1,226 @@
|
||||
{
|
||||
"name": "reviung34",
|
||||
"vendorId": "0xFEED",
|
||||
"productId": "0x4E03",
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 9
|
||||
},
|
||||
"layouts": {
|
||||
"keymap":[
|
||||
[
|
||||
{
|
||||
"y": 4.75,
|
||||
"x": 4.25
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"x": 0.25
|
||||
},
|
||||
"3,3",
|
||||
"3,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"ry": 0.965,
|
||||
"y": 3.785,
|
||||
"x": 7.75
|
||||
},
|
||||
"3,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 10,
|
||||
"rx": 1,
|
||||
"ry": 0,
|
||||
"y": -0.09999999999999998,
|
||||
"x": 2
|
||||
},
|
||||
"0,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"0,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 4
|
||||
},
|
||||
"0,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000001,
|
||||
"x": 2
|
||||
},
|
||||
"1,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"1,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"1,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 4
|
||||
},
|
||||
"1,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000002,
|
||||
"x": 2
|
||||
},
|
||||
"2,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"2,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"2,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 4
|
||||
},
|
||||
"2,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -10,
|
||||
"rx": 7,
|
||||
"ry": 0.965,
|
||||
"y": -0.20000000000000018,
|
||||
"x": 2
|
||||
},
|
||||
"0,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"0,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 4
|
||||
},
|
||||
"3,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999
|
||||
},
|
||||
"0,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000002,
|
||||
"x": 2
|
||||
},
|
||||
"1,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"1,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"1,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 4
|
||||
},
|
||||
"3,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999
|
||||
},
|
||||
"1,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000002,
|
||||
"x": 2
|
||||
},
|
||||
"2,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"2,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"2,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7500000000000004,
|
||||
"x": 4
|
||||
},
|
||||
"3,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000004
|
||||
},
|
||||
"2,5"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user