about summary refs log tree commit diff
path: root/users/glittershark/keyboard
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-06T22·26-0400
committerglittershark <grfn@gws.fyi>2020-07-06T22·52+0000
commit0dfea784248b1a1d88f7b05722b65f798041fcbe (patch)
tree747680eae80da26bacafb904304eb770da61d8ac /users/glittershark/keyboard
parent9ec0f4d0c822b63c807ecf869299dc25836b6c03 (diff)
feat(gs/keyboard): Add the start of an FPS layer r/1232
Not having space on my left hand is definitely not great for FPSes

Change-Id: Ie69201c5a3a2696a7d606be3979e1bfa11eb261a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/948
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/keyboard')
-rw-r--r--users/glittershark/keyboard/keymap.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/users/glittershark/keyboard/keymap.c b/users/glittershark/keyboard/keymap.c
index 6dbf9c7bfc04..a9c066cba772 100644
--- a/users/glittershark/keyboard/keymap.c
+++ b/users/glittershark/keyboard/keymap.c
@@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
       KC_MINUS,     KC_N,   KC_M,   KC_COMMA,   KC_DOT,     CTL_T(KC_SLASH),    KC_RSFT,
                     KC_DOWN,KC_UP,  KC_LBRACKET,KC_RBRACKET,MO(1),
 
-      KC_PAUSE,  CTL_T(KC_ESCAPE),
+      KC_PAUSE,  TG(3),
       KC_RBRACKET,
       KC_COLN,  RSFT_T(KC_ENTER),   KC_SPACE
    ),
@@ -86,6 +86,26 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
       KC_TRANSPARENT, KC_TRANSPARENT,
       KC_TRANSPARENT,
       KC_TRANSPARENT, KC_TRANSPARENT, KC_WWW_BACK),
+
+  // FPS layout
+  [3] = LAYOUT_ergodox(
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
+                                                      KC_TRANSPARENT,     KC_TRANSPARENT,
+                                                                          KC_TRANSPARENT,
+                                                      KC_SPACE, KC_SPACE, KC_TRANSPARENT,
+
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,      KC_TRANSPARENT, KC_TRANSPARENT,
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,      KC_TRANSPARENT, KC_TRANSPARENT,
+                      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,      KC_TRANSPARENT, KC_TRANSPARENT,
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,      KC_TRANSPARENT, KC_TRANSPARENT,
+                                      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,      KC_TRANSPARENT, KC_TRANSPARENT,
+      KC_TRANSPARENT, TG(3),
+      KC_TRANSPARENT,
+      KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT),
 };
 
 const uint16_t PROGMEM fn_actions[] = {