summaryrefslogtreecommitdiff
path: root/keyboards/io_mini1800/keymaps/2x3u/keymap.c
diff options
context:
space:
mode:
authorjpuerto96 <jpuerto96@hotmail.com>2022-03-15 04:35:11 -0400
committerGitHub <noreply@github.com>2022-03-15 01:35:11 -0700
commite94c2df3f3908295c824e20c0593e718c45a0f56 (patch)
treeb866d7517f2e82b072af014da34398b7dbc0b13b /keyboards/io_mini1800/keymaps/2x3u/keymap.c
parent9aaf4a5a9b19f1e2a12c3f2508e2083f7ec58bec (diff)
[Keyboard] Io mini1800 (#16115)
* First commit * first commit * 2x3u layout functional * 625u layout * rotary encoder * Modifications to keymaps * Remove ingrained from io_mini branch * Update readme * Update info.json * change hardware availability * Change rules.mk wording to match other PR * Update keyboards/io_mini1800/rules.mk * Update keyboards/io_mini1800/keymaps/default/keymap.c * Update keyboards/io_mini1800/keymaps/2x3u/keymap.c * Update keyboards/io_mini1800/io_mini1800.c * Update keyboards/io_mini1800/keymaps/2x3u/readme.md * Update keyboards/io_mini1800/readme.md
Diffstat (limited to 'keyboards/io_mini1800/keymaps/2x3u/keymap.c')
-rw-r--r--keyboards/io_mini1800/keymaps/2x3u/keymap.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/io_mini1800/keymaps/2x3u/keymap.c b/keyboards/io_mini1800/keymaps/2x3u/keymap.c
new file mode 100644
index 0000000000..75e4145207
--- /dev/null
+++ b/keyboards/io_mini1800/keymaps/2x3u/keymap.c
@@ -0,0 +1,21 @@
+// Copyright 2022 s8erdude (@jpuerto96)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+// Defines names for use in layer keycodes and the keymap
+enum layer_names {
+ _BASE
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* Base */
+[_BASE] = LAYOUT_2x3u(
+ KC_ESC, 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_INS, KC_HOME, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
+ 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_BSLS, KC_END, KC_DEL, KC_P7, KC_P8, KC_P9,
+ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS,
+ KC_LSFT, 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_P1, KC_P2, KC_P3,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT, KC_P0, KC_PDOT, KC_PENT
+ )
+};
+