From 738a9fc16c833d79831c5a26eb33880661e33524 Mon Sep 17 00:00:00 2001 From: Batuhan Baserdem Date: Wed, 18 Jul 2018 23:17:55 -0400 Subject: Userspace update for user bbaserdem (#3443) * Put in my keymaps * Fixed all but weird lets split issue * Organized and tried to trobleshoot lets split * Organized and tried to trobleshoot lets split * Added bbaserdem keymaps * Added bbaserdem keymaps * Fixed stuff * FIxed a filename error * Lets split eh * Finalized things regarding keymap --- keyboards/gherkin/keymaps/bbaserdem/config.h | 4 ++-- keyboards/gherkin/keymaps/bbaserdem/keymap.c | 2 +- keyboards/gherkin/keymaps/bbaserdem/rules.mk | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'keyboards/gherkin/keymaps') diff --git a/keyboards/gherkin/keymaps/bbaserdem/config.h b/keyboards/gherkin/keymaps/bbaserdem/config.h index 2bd89e8ec..37d7113e7 100644 --- a/keyboards/gherkin/keymaps/bbaserdem/config.h +++ b/keyboards/gherkin/keymaps/bbaserdem/config.h @@ -1,5 +1,5 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H +#ifndef CONFIG_KEYMAP_H +#define CONFIG_KEYMAP_H #include "../../config.h" #define RGB_DI_PIN F6 diff --git a/keyboards/gherkin/keymaps/bbaserdem/keymap.c b/keyboards/gherkin/keymaps/bbaserdem/keymap.c index d756f9b5c..0d3c8557c 100644 --- a/keyboards/gherkin/keymaps/bbaserdem/keymap.c +++ b/keyboards/gherkin/keymaps/bbaserdem/keymap.c @@ -21,7 +21,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -void matrix_init_keymap(void) { +void matrix_init_user(void) { // Set LED's to max _delay_us(300); backlight_config.level = 2; diff --git a/keyboards/gherkin/keymaps/bbaserdem/rules.mk b/keyboards/gherkin/keymaps/bbaserdem/rules.mk index 4e3a41820..cd1cddebf 100644 --- a/keyboards/gherkin/keymaps/bbaserdem/rules.mk +++ b/keyboards/gherkin/keymaps/bbaserdem/rules.mk @@ -2,13 +2,16 @@ ifndef QUANTUM_DIR include ../../../../Makefile endif +USER_NAME := bbaserdem-nouserspace + STENO_ENABLE = no # Additional protocols for Stenography(+1700), requires VIRTSER MOUSEKEY_ENABLE = no # Mouse keys(+4700) EXTRAKEY_ENABLE = no # Audio control and System control(+450) CONSOLE_ENABLE = no # Console for debug(+400) COMMAND_ENABLE = no # Commands for debug and configuration SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work AUDIO_ENABLE = no # Enable audio output from keyboard + +NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work RGBLIGHT_ENABLE = yes # Enable RBG light strips BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -- cgit v1.2.3-24-g4f1b