config.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* Copyright 2020 sendyyeah
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  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. *
  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. #include "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0x5359
  20. #define PRODUCT_ID 0x4e34
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER sendyyeah
  23. #define PRODUCT Pix
  24. /* key matrix size */
  25. #define MATRIX_ROWS 1
  26. #define MATRIX_COLS 5
  27. #define OLED_FONT_H "keymaps/default/glcdfont.c"
  28. #define OLED_TIMEOUT 600000 // Turn of after 10 minutes
  29. /* Keyboard Matrix Assignments */
  30. #define DIRECT_PINS { \
  31. { C6, D7, E6, B4, F6 }, \
  32. }
  33. #define ENCODERS_PAD_A { B1 }
  34. #define ENCODERS_PAD_B { B3 }
  35. /* Set 0 if debouncing isn't needed */
  36. #define DEBOUNCE 5
  37. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  38. #define LOCKING_SUPPORT_ENABLE
  39. /* Locking resynchronize hack */
  40. #define LOCKING_RESYNC_ENABLE
  41. // #define RGB_DI_PIN B5
  42. // #ifdef RGB_DI_PIN
  43. // #define RGBLED_NUM 5
  44. // #define RGBLIGHT_HUE_STEP 8
  45. // #define RGBLIGHT_SAT_STEP 8
  46. // #define RGBLIGHT_VAL_STEP 8
  47. // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  48. // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  49. // #define RGBLIGHT_ANIMATIONS
  50. // #define RGBLIGHT_LAYERS
  51. // #define RGBLIGHT_LAYER_BLINK
  52. // #endif