From 04c81a04c7d0a96818f6fd4087ca21586faa87f1 Mon Sep 17 00:00:00 2001 From: huajijam Date: Sun, 5 Apr 2020 13:28:40 +0800 Subject: [Keyboard] Add ReverseStudio-DecadePad (#8553) * ADD DecadePad * Fix Key display bug * fix * firmware1 THIS IS A Backup commit * firmware2 * rename all fill with lower case * fix bug * Final Version Fix all bugs * Requested change apply * suggested apply * change apply * via test * Apply change and fix via support problem --- .../decadepad/keymaps/default/keymap.c | 12 ++++++++ .../reversestudio/decadepad/keymaps/via/keymap.c | 36 ++++++++++++++++++++++ .../reversestudio/decadepad/keymaps/via/rules.mk | 2 ++ 3 files changed, 50 insertions(+) create mode 100644 keyboards/reversestudio/decadepad/keymaps/default/keymap.c create mode 100644 keyboards/reversestudio/decadepad/keymaps/via/keymap.c create mode 100644 keyboards/reversestudio/decadepad/keymaps/via/rules.mk (limited to 'keyboards/reversestudio/decadepad/keymaps') diff --git a/keyboards/reversestudio/decadepad/keymaps/default/keymap.c b/keyboards/reversestudio/decadepad/keymaps/default/keymap.c new file mode 100644 index 0000000000..695ceac301 --- /dev/null +++ b/keyboards/reversestudio/decadepad/keymaps/default/keymap.c @@ -0,0 +1,12 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_numpad_6x4( + RGB_TOG, RGB_MOD, RGB_VAI, RGB_M_R, + KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT + ) +}; diff --git a/keyboards/reversestudio/decadepad/keymaps/via/keymap.c b/keyboards/reversestudio/decadepad/keymaps/via/keymap.c new file mode 100644 index 0000000000..a9ca419185 --- /dev/null +++ b/keyboards/reversestudio/decadepad/keymaps/via/keymap.c @@ -0,0 +1,36 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_numpad_6x4( + RGB_TOG, RGB_MOD, RGB_VAI, RGB_M_R, + KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT + ), + [1] = LAYOUT_numpad_6x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_numpad_6x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_numpad_6x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/reversestudio/decadepad/keymaps/via/rules.mk b/keyboards/reversestudio/decadepad/keymaps/via/rules.mk new file mode 100644 index 0000000000..bee21da528 --- /dev/null +++ b/keyboards/reversestudio/decadepad/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +MOUSEKEY_ENABLE = no \ No newline at end of file -- cgit v1.2.3