summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/keymaps/bbaserdem/keymap.c
blob: 09da67a69f6ff1a98e339ad746453f41416f2f18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * Let's Split - Dvorak turkish
 * Keymap by @bbaserdem
 * Dvorak layout with multiple features
 * Most of the code is in the "user" directory.
 * Check qmk_firmware/users/bbaserdem for the main part of the code
 */
#define KEYMAP(...) LAYOUT_ortho_4x12(__VA_ARGS__)

#include "lets_split.h"
#include "bbaserdem.h"


void matrix_init_keymap (void) {
}

uint32_t layer_state_set_keymap(uint32_t state) {
    return state;
}

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    // Main Dvorak layer
    [_DV] = DVORAK,
    // Turkish and special character overlay
    [_AL] = ALTCHAR,
    // Gaming layer
    [_GA] = GAME,
    // Numbers layer
    [_NU] = NUMBERS,
    // Settings layer
    [_SE] = SETTINGS,
    // Mouse emulation layer
    [_MO] = MOUSE,
#ifdef AUDIO_ENABLE
    [_MU] = MUSIC,
#endif
};