diff --git a/keyboards/s_ol/0xc_pad/keymaps/vial/config.h b/keyboards/s_ol/0xc_pad/keymaps/vial/config.h new file mode 100644 index 0000000000..36565a9e33 --- /dev/null +++ b/keyboards/s_ol/0xc_pad/keymaps/vial/config.h @@ -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 . + */ +#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} diff --git a/keyboards/s_ol/0xc_pad/keymaps/vial/keymap.c b/keyboards/s_ol/0xc_pad/keymaps/vial/keymap.c new file mode 100644 index 0000000000..562d895071 --- /dev/null +++ b/keyboards/s_ol/0xc_pad/keymaps/vial/keymap.c @@ -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 . + */ +#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 + ), +}; diff --git a/keyboards/s_ol/0xc_pad/keymaps/vial/readme.md b/keyboards/s_ol/0xc_pad/keymaps/vial/readme.md new file mode 100644 index 0000000000..fb71b2bf20 --- /dev/null +++ b/keyboards/s_ol/0xc_pad/keymaps/vial/readme.md @@ -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. diff --git a/keyboards/s_ol/0xc_pad/keymaps/vial/rules.mk b/keyboards/s_ol/0xc_pad/keymaps/vial/rules.mk new file mode 100644 index 0000000000..630955c573 --- /dev/null +++ b/keyboards/s_ol/0xc_pad/keymaps/vial/rules.mk @@ -0,0 +1,6 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes +VIALRGB_ENABLE = yes +TAP_DANCE_ENABLE = no +KEY_OVERRIDE_ENABLE = no +COMBO_ENABLE = no diff --git a/keyboards/s_ol/0xc_pad/keymaps/vial/vial.json b/keyboards/s_ol/0xc_pad/keymaps/vial/vial.json new file mode 100644 index 0000000000..42739d642d --- /dev/null +++ b/keyboards/s_ol/0xc_pad/keymaps/vial/vial.json @@ -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"] + ] + } +} +