2
0

keymap.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. 2017 Jack Humbert
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #include "_example_avr.h"
  16. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  17. [0] = KEYMAP(
  18. KC_A, KC_B, \
  19. KC_C, KC_D \
  20. )
  21. };
  22. void matrix_init_user(void) {
  23. }
  24. void matrix_scan_user(void) {
  25. }
  26. bool process_record_user(uint16_t keycode, keyrecord_t *record) {
  27. // this line is necessary to keep at the end of the function
  28. return true;
  29. }
  30. void led_set_user(uint8_t usb_led) {
  31. }