Prokas

Keymap

Mar 3rd, 2019
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "keymap_common.h"
  2.  
  3. const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  4. /* 0: qwerty */
  5. KEYMAP(ESC, 1, 2, 3, 4, 5, 7, 8, 9, 6, 7, 8, 9, 0, BSPC, \
  6. TAB, Q, W, E, R, T, 4, 5, 6, Y, U, I, O, P, MINS, \
  7. LSFT, A, S, D, F, G, 1, 2, 3, H, J, K, L, SCLN, QUOTE, \
  8. LCTL, Z, X, C, V, B, 0, N, M, COMM, DOT, SLASH, NUBS, \
  9. LALT,SPC, ENT, FN0, FN1, DEL, APP, PSCR),
  10. /* 1: FN 1 */
  11. KEYMAP(ESC, 1, 2, 3, 4, 5, 7, 8, 9, 6, 7, 8, 9, 0, BSPC, \
  12. TAB, Q, W, E, R, T, 4, 5, 6, Y, U, I, O, P, MINS, \
  13. LSFT, A, S, D, F, G, 1, 2, 3, H, J, K, L, SCLN, QUOTE, \
  14. LCTL, Z, X, C, V, B, 0, N, M, COMM, DOT, SLASH, NUBS, \
  15. LALT,SPC, ENT, TRNS, FN2, DEL, APP, PSCR),
  16.  
  17. /* 2: FN 2 */
  18. KEYMAP(ESC, 1, 2, 3, 4, 5, 7, 8, 9, 6, 7, 8, 9, 0, BSPC, \
  19. TAB, Q, W, E, R, T, 4, 5, 6, Y, U, I, O, P, MINS, \
  20. LSFT, A, S, D, F, G, 1, 2, 3, H, J, K, L, SCLN, QUOTE, \
  21. LCTL, Z, X, C, V, B, 0, N, M, COMM, DOT, SLASH, NUBS, \
  22. LALT,SPC, ENT, TRNS, TRNS, DEL, APP, PSCR),
  23. };
  24.  
  25. const uint16_t PROGMEM fn_actions[] = {
  26. [0] = ACTION_LAYER_MOMENTARY(1),
  27. [1] = ACTION_LAYER_TAP_KEY(1, KC_ESC),
  28. };
RAW Paste Data