logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (1298B)


  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
  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. // Copy and worked on with love from the EZ team
  16. #pragma once
  17. /* key matrix size */
  18. #define MATRIX_ROWS 10
  19. #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
  20. #define MATRIX_COLS 4
  21. /*
  22. * Keyboard Matrix Assignments
  23. *
  24. * Change this to how you wired your keyboard
  25. * COLS: AVR pins used for columns, left to right
  26. * ROWS: AVR pins used for rows, top to bottom
  27. */
  28. #define MATRIX_COL_PINS { F6, F5, F4, F1 }
  29. #define MATRIX_ROW_PINS { B1, B2, B3, D2, D3 }
  30. #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)))