summaryrefslogtreecommitdiff
path: root/keyboards/ms_sculpt/keymaps
diff options
context:
space:
mode:
authorJean Bernard <105235786+jn-bernard@users.noreply.github.com>2022-07-02 14:16:38 +0200
committerGitHub <noreply@github.com>2022-07-02 22:16:38 +1000
commitef633cf46139282daaca77939937f7ba2519f56b (patch)
tree65db8b7f9cd31f5a92a6567d54d77259086ac6c6 /keyboards/ms_sculpt/keymaps
parent9c2505676caa22a17c25ac29230d4faed948b71e (diff)
Added MS Sculpt ISO-layout conversion with STM32F401 (#17049)
Diffstat (limited to 'keyboards/ms_sculpt/keymaps')
-rw-r--r--keyboards/ms_sculpt/keymaps/default/keymap.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/ms_sculpt/keymaps/default/keymap.c b/keyboards/ms_sculpt/keymaps/default/keymap.c
new file mode 100644
index 0000000000..b82c37a773
--- /dev/null
+++ b/keyboards/ms_sculpt/keymaps/default/keymap.c
@@ -0,0 +1,21 @@
+// Copyright 2022 Jean Bernard (@jn-bernard)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+enum custom_layers {
+ _BASE,
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* Base */
+ [_BASE] = LAYOUT_iso( \
+ /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 */
+ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCREEN, KC_SLCK, KC_PAUSE, KC_CALC, \
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_HOME, \
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_END, \
+ KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_INS, KC_PGUP, \
+ KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, \
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
+ ),
+};