logo

qmk_firmware

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

config.h (1734B)


  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
  4. Copyright 2017 Erin Call <hello@erincall.com>
  5. Copyright 2020 Marcus Young <myoung34@my.apsu.edu>
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #define DIODE_DIRECTION COL2ROW
  19. #define MATRIX_ROWS 6
  20. #define MATRIX_COLS 12
  21. #define COL_EXPANDED { true, true, true, true, true, true, false, false, false, false, false, false}
  22. #define MATRIX_ONBOARD_ROW_PINS { F7, F6, F5, F4, F1, F0 }
  23. #define MATRIX_ONBOARD_COL_PINS { 0, 0, 0, 0, 0, 0, B6, B7, D6, D2, D3, C6 }
  24. #define EXPANDER_COL_REGISTER GPIOB
  25. #define EXPANDER_ROW_REGISTER GPIOA
  26. #define MATRIX_EXPANDER_COL_PINS {0, 1, 2, 3, 4, 5}
  27. #define MATRIX_EXPANDER_ROW_PINS {0, 1, 2, 3, 4, 5}
  28. #define MOUSEKEY_INTERVAL 20
  29. #define MOUSEKEY_DELAY 0
  30. #define MOUSEKEY_TIME_TO_MAX 60
  31. #define MOUSEKEY_MAX_SPEED 7
  32. #define MOUSEKEY_WHEEL_DELAY 0
  33. /* key combination for command */
  34. #define IS_COMMAND() ( \
  35. get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
  36. get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  37. )
  38. /* fix space cadet rollover issue */
  39. #define DISABLE_SPACE_CADET_ROLLOVER