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.

89 lines
2.3 KiB

Update to drashna userspace and keymaps (#3172) * Use string with delay * Add skipped region to ergodox * Add send string config * Use default_layer_state instead of function * Fully generalize keyboards * old iris cleanup * Fix Drashna keymap compile issues By checking to see if secret.c exists before actually trying to add it * Remove unnecessary references * Add 4x12 ortho board * Update userspace readme for secrets * Make RGB more modular * Fix iris keymap, since we don't need the lower left (Function keys) * Fix includes * Add Blanks * Fix Ergodox lower layer * Add suspend commands * Add Maltron Layout * Add additional layouts * Finish adding gamepad to Iris * Tweaks to iris gamepag layer * make gaming layers more friendly * minor gaming layer tweak * Add Carplax * Add modded key timer function * Cleanup and macro documentation * Add QMK DFU info * Add 'old' keymap for 12 LED spare * Update Pro Micro documentation * Disable twinkling so it fits in firmware space * Switch to QMK DFU bootloader, since it's better anyhow * Write default layer state colors to EEPROM Since we are writing to EEPROM anyways, and this way, it sticks on reboot * Fix QMK DFU bootloader options * More updates for QMK DFU support * Use matrix scanning hack for startup_user until #3113 gets merged * Fix indicator light consistency issue * Add/readd ifdefs to indicators * Add/readd alt indicator * Remove RGB Twinkling from Viterbi macro pad * Fix default layer color detection * Fix rebase and detection issues * Cleanup code so it will compile if RGBLIGHT is disabled * Revert vsode settings * Use Pragma Once instead of boilerplate code
5 years ago
Update to drashna userspace and keymaps (#3172) * Use string with delay * Add skipped region to ergodox * Add send string config * Use default_layer_state instead of function * Fully generalize keyboards * old iris cleanup * Fix Drashna keymap compile issues By checking to see if secret.c exists before actually trying to add it * Remove unnecessary references * Add 4x12 ortho board * Update userspace readme for secrets * Make RGB more modular * Fix iris keymap, since we don't need the lower left (Function keys) * Fix includes * Add Blanks * Fix Ergodox lower layer * Add suspend commands * Add Maltron Layout * Add additional layouts * Finish adding gamepad to Iris * Tweaks to iris gamepag layer * make gaming layers more friendly * minor gaming layer tweak * Add Carplax * Add modded key timer function * Cleanup and macro documentation * Add QMK DFU info * Add 'old' keymap for 12 LED spare * Update Pro Micro documentation * Disable twinkling so it fits in firmware space * Switch to QMK DFU bootloader, since it's better anyhow * Write default layer state colors to EEPROM Since we are writing to EEPROM anyways, and this way, it sticks on reboot * Fix QMK DFU bootloader options * More updates for QMK DFU support * Use matrix scanning hack for startup_user until #3113 gets merged * Fix indicator light consistency issue * Add/readd ifdefs to indicators * Add/readd alt indicator * Remove RGB Twinkling from Viterbi macro pad * Fix default layer color detection * Fix rebase and detection issues * Cleanup code so it will compile if RGBLIGHT is disabled * Revert vsode settings * Use Pragma Once instead of boilerplate code
5 years ago
Update to drashna userspace and keymaps (#3172) * Use string with delay * Add skipped region to ergodox * Add send string config * Use default_layer_state instead of function * Fully generalize keyboards * old iris cleanup * Fix Drashna keymap compile issues By checking to see if secret.c exists before actually trying to add it * Remove unnecessary references * Add 4x12 ortho board * Update userspace readme for secrets * Make RGB more modular * Fix iris keymap, since we don't need the lower left (Function keys) * Fix includes * Add Blanks * Fix Ergodox lower layer * Add suspend commands * Add Maltron Layout * Add additional layouts * Finish adding gamepad to Iris * Tweaks to iris gamepag layer * make gaming layers more friendly * minor gaming layer tweak * Add Carplax * Add modded key timer function * Cleanup and macro documentation * Add QMK DFU info * Add 'old' keymap for 12 LED spare * Update Pro Micro documentation * Disable twinkling so it fits in firmware space * Switch to QMK DFU bootloader, since it's better anyhow * Write default layer state colors to EEPROM Since we are writing to EEPROM anyways, and this way, it sticks on reboot * Fix QMK DFU bootloader options * More updates for QMK DFU support * Use matrix scanning hack for startup_user until #3113 gets merged * Fix indicator light consistency issue * Add/readd ifdefs to indicators * Add/readd alt indicator * Remove RGB Twinkling from Viterbi macro pad * Fix default layer color detection * Fix rebase and detection issues * Cleanup code so it will compile if RGBLIGHT is disabled * Revert vsode settings * Use Pragma Once instead of boilerplate code
5 years ago
  1. SRC += drashna.c \
  2. process_records.c
  3. ifneq ($(PLATFORM),CHIBIOS)
  4. ifneq ($(strip $(LTO_SUPPORTED)), no)
  5. LTO_ENABLE = yes
  6. endif
  7. endif
  8. SPACE_CADET_ENABLE = no
  9. GRAVE_ESC_ENABLE = no
  10. ifneq ($(strip $(NO_SECRETS)), yes)
  11. ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
  12. SRC += secrets.c
  13. endif
  14. ifeq ($(strip $(NO_SECRETS)), lite)
  15. OPT_DEFS += -DNO_SECRETS
  16. endif
  17. endif
  18. CUSTOM_TAP_DANCE ?= yes
  19. ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
  20. ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
  21. SRC += tap_dances.c
  22. endif
  23. endif
  24. CUSTOM_RGBLIGHT ?= yes
  25. ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
  26. ifeq ($(strip $(CUSTOM_RGBLIGHT)), yes)
  27. SRC += rgb_stuff.c
  28. ifeq ($(strip $(RGBLIGHT_NOEEPROM)), yes)
  29. OPT_DEFS += -DRGBLIGHT_NOEEPROM
  30. endif
  31. ifeq ($(strip $(RGBLIGHT_STARTUP_ANIMATION)), yes)
  32. OPT_DEFS += -DRGBLIGHT_STARTUP_ANIMATION
  33. endif
  34. endif
  35. endif
  36. CUSTOM_RGB_MATRIX ?= yes
  37. ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
  38. ifeq ($(strip $(CUSTOM_RGB_MATRIX)), yes)
  39. SRC += rgb_matrix_stuff.c
  40. endif
  41. endif
  42. KEYLOGGER_ENABLE ?= no
  43. ifdef CONSOLE_ENABLE
  44. ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
  45. OPT_DEFS += -DKEYLOGGER_ENABLE
  46. endif
  47. endif
  48. ifeq ($(strip $(MAKE_BOOTLOADER)), yes)
  49. OPT_DEFS += -DMAKE_BOOTLOADER
  50. endif
  51. # At least until build.mk or the like drops, this is here to prevent
  52. # VUSB boards from enabling NKRO, as they do not support it. Ideally
  53. # this should be handled per keyboard, but until that happens ...
  54. ifeq ($(strip $(PROTOCOL)), VUSB)
  55. NKRO_ENABLE = no
  56. endif
  57. CUSTOM_OLED_DRIVER ?= yes
  58. ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
  59. ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes)
  60. SRC += oled_stuff.c
  61. OPT_DEFS += -DCUSTOM_OLED_DRIVER_CODE
  62. endif
  63. endif
  64. ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
  65. POINTING_DEVICE_ENABLE := yes
  66. OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
  67. SRC += drivers/sensors/pimoroni_trackball.c
  68. QUANTUM_LIB_SRC += i2c_master.c
  69. endif
  70. CUSTOM_SPLIT_TRANSPORT_SYNC ?= yes
  71. ifeq ($(strip $(CUSTOM_SPLIT_TRANSPORT_SYNC)), yes)
  72. ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
  73. QUANTUM_LIB_SRC += transport_sync.c
  74. OPT_DEFS += -DCUSTOM_SPLIT_TRANSPORT_SYNC
  75. endif
  76. endif
  77. # DEBUG_MATRIX_SCAN_RATE_ENABLE = api