summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/keymaps/bbaserdem/keymap.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-06-12 10:59:35 -0400
committerJack Humbert <jack.humb@gmail.com>2018-06-12 10:59:35 -0400
commit998ddbb122c9d3e2a77bd4e88c881b225ca0d569 (patch)
treeca91ff7ad3c4866555d1e623fe9ea05276397e1c /keyboards/lets_split/keymaps/bbaserdem/keymap.c
parentc0095710a7c7e9bd94aa9f4dd814dc28d718c731 (diff)
parent06487daaddf923d635e8a528d1eb644b875a73f6 (diff)
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
Diffstat (limited to 'keyboards/lets_split/keymaps/bbaserdem/keymap.c')
-rwxr-xr-xkeyboards/lets_split/keymaps/bbaserdem/keymap.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/lets_split/keymaps/bbaserdem/keymap.c b/keyboards/lets_split/keymaps/bbaserdem/keymap.c
new file mode 100755
index 0000000000..09da67a69f
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem/keymap.c
@@ -0,0 +1,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
+};