logo

qmk_firmware

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

config.h (1684B)


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