diff options
Diffstat (limited to 'keyboards/roadkit/keymaps')
-rw-r--r-- | keyboards/roadkit/keymaps/singlesBrent/config.h | 1 | ||||
-rw-r--r-- | keyboards/roadkit/keymaps/singlesBrent/keymap.c | 22 |
2 files changed, 13 insertions, 10 deletions
diff --git a/keyboards/roadkit/keymaps/singlesBrent/config.h b/keyboards/roadkit/keymaps/singlesBrent/config.h index fe2424ae67..45bd44c0be 100644 --- a/keyboards/roadkit/keymaps/singlesBrent/config.h +++ b/keyboards/roadkit/keymaps/singlesBrent/config.h @@ -10,7 +10,6 @@ #define BACKLIGHT_PIN B5
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_ON_STATE 0
- backlight_set(3);
#endif
#endif
\ No newline at end of file diff --git a/keyboards/roadkit/keymaps/singlesBrent/keymap.c b/keyboards/roadkit/keymaps/singlesBrent/keymap.c index e4333bd551..c915651d07 100644 --- a/keyboards/roadkit/keymaps/singlesBrent/keymap.c +++ b/keyboards/roadkit/keymaps/singlesBrent/keymap.c @@ -1,9 +1,6 @@ #include "roadkit.h"
#include "action_layer.h"
#include "eeconfig.h"
-//#ifdef BACKLIGHT_ENABLE
-// #include "backlight.h"
-//#endif
extern keymap_config_t keymap_config;
@@ -27,6 +24,13 @@ extern keymap_config_t keymap_config; #define _______ KC_TRNS
#define XXXXXXX KC_NO
+void matrix_init_user(void) {
+ backlight_init();
+ backlight_set(3);
+}
+
+
+
//Tap Dance Declarations
enum {
@@ -144,9 +148,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * `-----`-----`-----`-----'
*/
[_NP] = /* Numpad */
- SINGLES_KEYMAP(KC_7, KC_8, KC_9, KC_SLASH, \
- KC_4, KC_5, KC_6, KC_KP_ASTERISK, \
- KC_1, KC_2, KC_3, KC_MINUS, \
+ SINGLES_KEYMAP(KC_7, KC_8, KC_9, KC_SLASH, \
+ KC_4, KC_5, KC_6, KC_KP_ASTERISK, \
+ KC_1, KC_2, KC_3, KC_MINUS, \
TD(TD_0_L3), TD(TD_DOT_L2), TD(TD_KP_PLUS_L1), TD(TD_EQUAL_NP)),
/* L1
@@ -162,9 +166,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */
[_L1] = /* LAYER 1 */
SINGLES_KEYMAP(KC_ESCAPE, KC_BSPACE, KC_HOME, KC_PGUP, \
- KC_TAB, KC_UP, KC_END, KC_PGDOWN, \
- KC_LEFT, KC_DOWN, KC_RIGHT, KC_KP_ENTER, \
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
+ KC_TAB, KC_UP, KC_END, KC_PGDOWN, \
+ KC_LEFT, KC_DOWN, KC_RIGHT, KC_KP_ENTER, \
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
/* L2
* ,-----------------------.
|