summaryrefslogtreecommitdiff
path: root/keyboards/gherkin/keymaps/bbaserdem
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-06-07 08:15:14 -0700
committerDrashna Jaelre <drashna@live.com>2018-06-07 08:15:14 -0700
commite3c10a73ac0857a60fba5530c2dceee954fe89d4 (patch)
treeb5704a9f84fb69e4f74f0f78777475e5ac901e47 /keyboards/gherkin/keymaps/bbaserdem
parent66a35aded1bdab44fd4d79290899059ba3b97645 (diff)
Gherkin: Refactor and Configurator support [resolved] (#3140)
* Refactor KEYMAP to LAYOUT_ortho_3x10 * Configurator support * Renamed @Talljoe's keymap folder * Renamed matrix_init_user to matrix_init_keymap
Diffstat (limited to 'keyboards/gherkin/keymaps/bbaserdem')
-rw-r--r--keyboards/gherkin/keymaps/bbaserdem/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/gherkin/keymaps/bbaserdem/keymap.c b/keyboards/gherkin/keymaps/bbaserdem/keymap.c
index 6e9898a277..d756f9b5c1 100644
--- a/keyboards/gherkin/keymaps/bbaserdem/keymap.c
+++ b/keyboards/gherkin/keymaps/bbaserdem/keymap.c
@@ -1,6 +1,6 @@
// This is a game-pad gherkin layout with RGB and LED lights
-#include "gherkin.h"
+#include QMK_KEYBOARD_H
backlight_config_t backlight_config;
@@ -14,14 +14,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | Shf | A | S | D | F | <-- | |v| | --> | , | . |
* `-----------------------------------------------------------'
*/
- KEYMAP(
+ LAYOUT_ortho_3x10(
KC_ESCAPE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_LCTRL, KC_LALT, KC_GRAVE,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_UP, KC_SCLN, KC_QUOTE, KC_SLASH,
KC_LSHIFT, KC_A, KC_S, KC_D, KC_F, KC_LEFT, KC_DOWN, KC_RIGHT, KC_COMMA, KC_DOT
)
};
-void matrix_init_user(void) {
+void matrix_init_keymap(void) {
// Set LED's to max
_delay_us(300);
backlight_config.level = 2;