Port s_ol/0xc_pad (#234)
This commit is contained in:
parent
6f4b457d8c
commit
e002d90736
5 changed files with 74 additions and 0 deletions
21
keyboards/s_ol/0xc_pad/keymaps/vial/config.h
Normal file
21
keyboards/s_ol/0xc_pad/keymaps/vial/config.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/* Copyright 2022 s-ol
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x08, 0xA8, 0xBE, 0x56, 0x11, 0xFB, 0xA6, 0x10}
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
|
||||
#define VIAL_UNLOCK_COMBO_ROWS {3, 3, 3}
|
||||
#define VIAL_UNLOCK_COMBO_COLS {1, 2, 3}
|
25
keyboards/s_ol/0xc_pad/keymaps/vial/keymap.c
Normal file
25
keyboards/s_ol/0xc_pad/keymaps/vial/keymap.c
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* Copyright 2021 s-ol
|
||||
*
|
||||
* 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(
|
||||
RGB_RMOD, RGB_MOD,
|
||||
KC_CUT , KC_COPY, KC_PSTE,
|
||||
KC_PGUP, KC_PGDN, KC_VOLU, KC_VOLD,
|
||||
KC_1 , KC_2 , KC_3
|
||||
),
|
||||
};
|
5
keyboards/s_ol/0xc_pad/keymaps/vial/readme.md
Normal file
5
keyboards/s_ol/0xc_pad/keymaps/vial/readme.md
Normal file
|
@ -0,0 +1,5 @@
|
|||

|
||||
|
||||
# Default 0xC.pad Layout
|
||||
|
||||
This is a simple default layout to get you started with the 0xC.pad.
|
6
keyboards/s_ol/0xc_pad/keymaps/vial/rules.mk
Normal file
6
keyboards/s_ol/0xc_pad/keymaps/vial/rules.mk
Normal file
|
@ -0,0 +1,6 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIALRGB_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = no
|
||||
KEY_OVERRIDE_ENABLE = no
|
||||
COMBO_ENABLE = no
|
17
keyboards/s_ol/0xc_pad/keymaps/vial/vial.json
Normal file
17
keyboards/s_ol/0xc_pad/keymaps/vial/vial.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "0xC.pad",
|
||||
"lighting": "vialrgb",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 4
|
||||
},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[{"x": 1}, "0,0", "0,1"],
|
||||
[{"x": 0.5}, "1,0", "1,1", "1,2"],
|
||||
["2,0", "2,1", "2,2", "2,3"],
|
||||
[{"x": 0.5}, "3,1", "3,2", "3,3"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue