2
0

config.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // see https://github.com/pepaslabs/hexon38
  2. #pragma once
  3. #include "config_common.h"
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED
  6. #define PRODUCT_ID 0x6060
  7. #define DEVICE_VER 0x0001
  8. #define MANUFACTURER pepaslabs
  9. #define PRODUCT hexon38
  10. #define DESCRIPTION "A handmade non-split ergonomic 38-key keyboard, inspired by the lil38. See https://github.com/pepaslabs/hexon38."
  11. /* key matrix size */
  12. #define MATRIX_ROWS 4
  13. #define MATRIX_COLS 12
  14. /* key matrix pins */
  15. #define MATRIX_ROW_PINS { B0, F0, B2, F4 }
  16. #define MATRIX_COL_PINS { C6, D3, D2, D1, D0, B7, F6, F7, B6, B5, B4, D7 }
  17. #define UNUSED_PINS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION ROW2COL
  20. /* number of backlight levels */
  21. #ifdef BACKLIGHT_PIN
  22. #define BACKLIGHT_LEVELS 0
  23. #endif
  24. /* Set 0 if debouncing isn't needed */
  25. #define DEBOUNCING_DELAY 5
  26. #ifdef RGB_DI_PIN
  27. #define RGBLIGHT_ANIMATIONS
  28. #define RGBLED_NUM 0
  29. #define RGBLIGHT_HUE_STEP 8
  30. #define RGBLIGHT_SAT_STEP 8
  31. #define RGBLIGHT_VAL_STEP 8
  32. #endif
  33. // Disabled features:
  34. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  35. //#define LOCKING_SUPPORT_ENABLE
  36. /* Locking resynchronize hack */
  37. //#define LOCKING_RESYNC_ENABLE
  38. /* prevent stuck modifiers */
  39. //#define PREVENT_STUCK_MODIFIERS