diff options
Diffstat (limited to 'keyboards/keebio/chocopad/keymaps')
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/default/keymap.c | 3 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/khord/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/via/config.h | 7 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/via/keymap.c | 20 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/via/rules.mk | 2 |
5 files changed, 32 insertions, 2 deletions
diff --git a/keyboards/keebio/chocopad/keymaps/default/keymap.c b/keyboards/keebio/chocopad/keymaps/default/keymap.c index b89246adf0..8c83d72cfe 100644 --- a/keyboards/keebio/chocopad/keymaps/default/keymap.c +++ b/keyboards/keebio/chocopad/keymaps/default/keymap.c @@ -1,3 +1,6 @@ +// Copyright 2023 Danny Nguyen (danny@keeb.io) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H #define _BASE 0 diff --git a/keyboards/keebio/chocopad/keymaps/khord/rules.mk b/keyboards/keebio/chocopad/keymaps/khord/rules.mk deleted file mode 100644 index a81250cdf6..0000000000 --- a/keyboards/keebio/chocopad/keymaps/khord/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -RGBLIGHT_ENABLE = yes - diff --git a/keyboards/keebio/chocopad/keymaps/via/config.h b/keyboards/keebio/chocopad/keymaps/via/config.h new file mode 100644 index 0000000000..1dcf49c979 --- /dev/null +++ b/keyboards/keebio/chocopad/keymaps/via/config.h @@ -0,0 +1,7 @@ +// Copyright 2023 Danny Nguyen (danny@keeb.io) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_PINWHEEL +#define RGB_MATRIX_DEFAULT_SPD 48 diff --git a/keyboards/keebio/chocopad/keymaps/via/keymap.c b/keyboards/keebio/chocopad/keymaps/via/keymap.c new file mode 100644 index 0000000000..18de1ad43d --- /dev/null +++ b/keyboards/keebio/chocopad/keymaps/via/keymap.c @@ -0,0 +1,20 @@ +// Copyright 2023 Danny Nguyen (danny@keeb.io) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_ortho_4x4( + KC_P7, KC_P8, KC_P9, KC_PPLS, + KC_P4, KC_P5, KC_P6, KC_PERC, + KC_P1, KC_P2, KC_P3, KC_EQL, + KC_P0, MO(1), KC_PDOT, KC_PENT + ), + [1] = LAYOUT_ortho_4x4( + RGB_TOG, KC_PSLS, KC_PAST, KC_PMNS, + KC_PGUP, KC_HOME, KC_UP, KC_END, + KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, + RGB_MOD, _______, KC_VOLD, KC_VOLU + ) +}; diff --git a/keyboards/keebio/chocopad/keymaps/via/rules.mk b/keyboards/keebio/chocopad/keymaps/via/rules.mk new file mode 100644 index 0000000000..36b7ba9cbc --- /dev/null +++ b/keyboards/keebio/chocopad/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes |