You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.6 KiB

  1. /*
  2. Copyright 2015 Jun Wako <wakojun@gmail.com>
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #include "whitefox.h"
  15. const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  16. /* Layer 0: Default Layer
  17. * ,---------------------------------------------------------------.
  18. * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `|Ins|
  19. * |---------------------------------------------------------------|
  20. * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]|Backs|Del|
  21. * |---------------------------------------------------------------|
  22. * |CapsLo| A| S| D| F| G| H| J| K| L| ;| '|Enter |PgU|
  23. * |---------------------------------------------------------------|
  24. * |Shif| | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |PgD|
  25. * |---------------------------------------------------------------|
  26. * |Ctrl|Gui |Alt | Space |Fn0 |Alt |Gui | |Lef|Dow|Rig|
  27. * `---------------------------------------------------------------'
  28. */
  29. [0] = KEYMAP( \
  30. ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSLS,GRV, INS, \
  31. TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSPC, DEL, \
  32. CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,NUHS,ENT, PGUP,\
  33. LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, PGDN,\
  34. LCTL,LGUI,LALT, SPC, RALT,FN0, RCTL, LEFT,DOWN,RGHT \
  35. ),
  36. [1] = KEYMAP( \
  37. TRNS,F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS,TRNS,MUTE,\
  38. TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PSCR,SLCK,PAUS,TRNS, TRNS,\
  39. TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, VOLU,\
  40. TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, PGUP,VOLD,\
  41. TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS, HOME,PGDN,END \
  42. ),
  43. };
  44. const uint16_t fn_actions[] = {
  45. [0] = ACTION_LAYER_MOMENTARY(1),
  46. };