summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2019-06-11 14:49:50 -0700
committerDrashna Jaelre <drashna@live.com>2019-06-11 14:49:50 -0700
commit332fc7e8143e3071d3904616e108aaf63b623568 (patch)
tree6d10aeddd77a5bbc0a5f1ff69b3bcae7936a7e2f /keyboards
parent1d11c62df6435427388ff97e8bfb55dac6fd296c (diff)
[Keymap] Tsangan bottom plain60 configuration (#6100)
* Personal keymap for plain60 * Update keymap for incorrect keys - update docs * Placate the gods of Case Insensitivity
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/plain60/keymaps/yanfali/keymap.c25
-rw-r--r--keyboards/plain60/keymaps/yanfali/readme.md9
-rw-r--r--keyboards/plain60/keymaps/yanfali/rules.mk4
3 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/plain60/keymaps/yanfali/keymap.c b/keyboards/plain60/keymaps/yanfali/keymap.c
new file mode 100644
index 0000000000..3a0bc634f3
--- /dev/null
+++ b/keyboards/plain60/keymaps/yanfali/keymap.c
@@ -0,0 +1,25 @@
+#include QMK_KEYBOARD_H
+
+// Each layer gets a name for readability, which is then used in the keymap matrix below.
+// The underscores don't mean anything - you can have a layer called STUFF or any other name.
+// Layer names don't all need to be of the same length, obviously, and you can also skip them
+// entirely and just use numbers.
+#define _MA 0
+#define _FN 1
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+[_FN] = LAYOUT(
+ _______, 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_DEL, \
+ _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, \
+ KC_CAPS, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
+ _______, _______, _______, _______, _______, _______, _______, _______),
+
+[_MA] = LAYOUT(
+ 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_GRV, KC_BSPC, \
+ 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, \
+ LCTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, \
+ KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN) , \
+ KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_NO, KC_RGUI, KC_RALT, KC_RCTRL)
+};
diff --git a/keyboards/plain60/keymaps/yanfali/readme.md b/keyboards/plain60/keymaps/yanfali/readme.md
new file mode 100644
index 0000000000..790f3af5d9
--- /dev/null
+++ b/keyboards/plain60/keymaps/yanfali/readme.md
@@ -0,0 +1,9 @@
+- Disable VIA
+- Tsangan bottom row
+- Split Backspace
+- Split Right shift
+- RESET, F keys, and Cursors (WASD), DEL, Capslock on layer
+- Capslock -> LCTL_T(KC_ESC)
+- Bootmagic lite
+- Command enabled
+- Console enabled
diff --git a/keyboards/plain60/keymaps/yanfali/rules.mk b/keyboards/plain60/keymaps/yanfali/rules.mk
new file mode 100644
index 0000000000..3d1f67763e
--- /dev/null
+++ b/keyboards/plain60/keymaps/yanfali/rules.mk
@@ -0,0 +1,4 @@
+BOOTMAGIC = lite
+DYNAMIC_KEYMAP_ENABLE = no
+CONSOLE_ENABLE = yes
+COMMAND_ENABLE = yes