summaryrefslogtreecommitdiff
path: root/keyboards/naked48/keymaps/default
diff options
context:
space:
mode:
authorSalicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com>2019-10-24 02:18:59 +0900
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-23 10:18:59 -0700
commit68cf2725aa30eaa18db9c6149e5e361860db01d7 (patch)
treedb2d56405aef72473ff7d15117d2dfdefdb1ec3b /keyboards/naked48/keymaps/default
parent6d95082cbf11728bbd035d533ef3efebcf29f933 (diff)
[Keyboard] Naked48/60 Configurator bugfix (#7131)
Support for QMK configurator of keyboard Naked48 / 60. Related: Pull request to configurator [Keyboard] Add keyboard Naked48 / 60 # 549
Diffstat (limited to 'keyboards/naked48/keymaps/default')
-rw-r--r--keyboards/naked48/keymaps/default/config.h2
-rw-r--r--keyboards/naked48/keymaps/default/keymap.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/keyboards/naked48/keymaps/default/config.h b/keyboards/naked48/keymaps/default/config.h
index a568a5f128..0e452bdb4a 100644
--- a/keyboards/naked48/keymaps/default/config.h
+++ b/keyboards/naked48/keymaps/default/config.h
@@ -26,5 +26,3 @@
#define TAPPING_FORCE_HOLD
#define TAPPING_TERM 180
-
-#define RGBLED_NUM 48 // Number of LEDs \ No newline at end of file
diff --git a/keyboards/naked48/keymaps/default/keymap.c b/keyboards/naked48/keymaps/default/keymap.c
index 91c61b5f43..686685e263 100644
--- a/keyboards/naked48/keymaps/default/keymap.c
+++ b/keyboards/naked48/keymaps/default/keymap.c
@@ -24,10 +24,6 @@ enum custom_keycodes {
RGB_RST = SAFE_RANGE
};
-// Layer Mode aliases
-#define KC_SNUBS S(KC_NUBS)
-#define KC_SNUHS S(KC_NUHS)
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT(
//,-----------------------------------------------------| |-----------------------------------------------------.
@@ -48,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
- _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,KC_SNUHS,KC_SNUBS, _______, _______, _______,
+ _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______,_______,_______,
//|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
_______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
//`------------------------------------------------------------------------------------------------------------'