keymap_plain.c 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #include "keymap_common.h"
  2. // JCK: Semi-Standard layout
  3. const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  4. /* 0: qwerty */
  5. [0] = KEYMAP_JCK(GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, \
  6. TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, DEL, \
  7. ESC, A, S, D, F, G, H, J, K, L, SCLN, QUOT, ENT, MPLY, \
  8. LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT, VOLD, VOLU, \
  9. LCTL, LALT, LGUI, SPC, FN1, LEFT, DOWN, UP, RGHT),
  10. [1] = KEYMAP_JCK(GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, \
  11. TAB, Q, W, F, P, G, J, L, U, Y, SCLN, LBRC, RBRC, BSLS, DEL, \
  12. ESC, A, R, S, T, D, H, N, E, I, O, QUOT, ENT, MPLY, \
  13. LSFT, Z, X, C, V, B, K, M, COMM, DOT, SLSH, RSFT, VOLD, VOLU, \
  14. LCTL, LALT, LGUI, SPC, FN1, LEFT, DOWN, UP, RGHT),
  15. [2] = KEYMAP_JCK(GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, BSPC, \
  16. TAB, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, LBRC, RBRC, BSLS, DEL, \
  17. ESC, FN3, FN4, TRNS, TRNS, TRNS, TRNS, MINS, EQL, LBRC, RBRC, BSLS, ENT, MPLY, \
  18. LSFT, FN9, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT, VOLD, VOLU, \
  19. LCTL, LALT, LGUI, SPC, TRNS, MNXT, VOLD, VOLU, MPLY),
  20. };
  21. const uint16_t PROGMEM fn_actions[] = {
  22. [1] = ACTION_LAYER_MOMENTARY(2), // to Fn overlay
  23. [3] = ACTION_DEFAULT_LAYER_SET(0),
  24. [4] = ACTION_DEFAULT_LAYER_SET(1),
  25. [9] = ACTION_MODS_KEY(MOD_LSFT | MOD_RSFT, KC_PAUSE),
  26. [10] = ACTION_MODS_KEY(MOD_LSFT, KC_1),
  27. [11] = ACTION_MODS_KEY(MOD_LSFT, KC_2),
  28. [12] = ACTION_MODS_KEY(MOD_LSFT, KC_3),
  29. [13] = ACTION_MODS_KEY(MOD_LSFT, KC_4),
  30. [14] = ACTION_MODS_KEY(MOD_LSFT, KC_5),
  31. [15] = ACTION_MODS_KEY(MOD_LSFT, KC_6),
  32. [16] = ACTION_MODS_KEY(MOD_LSFT, KC_7),
  33. [17] = ACTION_MODS_KEY(MOD_LSFT, KC_8),
  34. [18] = ACTION_MODS_KEY(MOD_LSFT, KC_9),
  35. [19] = ACTION_MODS_KEY(MOD_LSFT, KC_0),
  36. [20] = ACTION_MODS_KEY(MOD_LSFT, KC_MINS),
  37. [21] = ACTION_MODS_KEY(MOD_LSFT, KC_EQL),
  38. [22] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV),
  39. [23] = ACTION_MODS_KEY(MOD_LSFT, KC_LBRC),
  40. [24] = ACTION_MODS_KEY(MOD_LSFT, KC_RBRC),
  41. [28] = ACTION_MODS_KEY(MOD_LSFT, KC_BSLS),
  42. };