Port s_ol/0xc_pad (#234)

This commit is contained in:
sol 2022-09-03 20:22:27 +02:00 committed by GitHub
parent 6f4b457d8c
commit e002d90736
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 74 additions and 0 deletions

View 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}

View 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
),
};

View file

@ -0,0 +1,5 @@
![0xC.pad Layout Image](https://i.imgur.com/pk4G33B.png)
# Default 0xC.pad Layout
This is a simple default layout to get you started with the 0xC.pad.

View 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

View 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"]
]
}
}