Peter's keyboard firmware (QMK) https://qmk.fm/
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.

config.h 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. Copyright 2015 Jack Humbert
  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. /* Select hand configuration */
  18. // #define MASTER_LEFT
  19. // #define MASTER_RIGHT
  20. #define EE_HANDS
  21. // #define SSD1306OLED
  22. #define USE_SERIAL_PD2
  23. // #define TAPPING_FORCE_HOLD
  24. // #define TAPPING_TERM 100
  25. #ifdef RGBLIGHT_ENABLE
  26. #undef RGBLED_NUM
  27. #define RGBLED_NUM 27
  28. #define RGBLIGHT_HUE_STEP 8
  29. #define RGBLIGHT_SAT_STEP 8
  30. #define RGBLIGHT_VAL_STEP 8
  31. #define RGBLIGHT_LIMIT_VAL 100
  32. #endif
  33. #ifdef AUDIO_ENABLE
  34. #define B6_AUDIO
  35. // #define NO_MUSIC_MODE
  36. #endif
  37. #undef PRODUCT
  38. #define PRODUCT Drashna Hacked Corne Keyboard
  39. #define OLED_FONT_H "keyboards/crkbd/keymaps/drashna/glcdfont.c"
  40. // #define OLED_FONT_WIDTH 5
  41. // #define OLED_FONT_HEIGHT 7
  42. #define TAPPING_TERM_PER_KEY