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.

65 lines
1.9 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. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
  4. #define RGB_DI_PIN D3
  5. #define RGBLED_NUM 16 // Number of LEDs
  6. #define RGBLIGHT_HUE_STEP 12
  7. #define RGBLIGHT_SAT_STEP 12
  8. #define RGBLIGHT_VAL_STEP 12
  9. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  10. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  11. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  12. #endif // RGBLIGHT_ENABLE
  13. #ifdef RGB_MATRIX_ENABLE
  14. #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
  15. // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
  16. // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  17. #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
  18. // #define RGB_MATRIX_SKIP_FRAMES 1 // number of frames to skip when displaying animations (0 is full effect) if not defined defaults to 1
  19. // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
  20. // #define EECONFIG_RGB_MATRIX (uint32_t *)16
  21. #endif
  22. #if defined(KEYBOARD_lets_split_rev2)
  23. #define USE_SERIAL
  24. #undef USE_I2C
  25. #define EE_HANDS
  26. #endif
  27. #if defined(KEYBOARD_planck_rev5)
  28. #ifdef RGBLIGHT_ENABLE
  29. #define NO_MUSIC_MODE
  30. #endif // RGBLIGHT_ENABLE
  31. #endif // KEYBOARD_planck_rev5
  32. /*
  33. * MIDI options
  34. */
  35. /* Prevent use of disabled MIDI features in the keymap */
  36. //#define MIDI_ENABLE_STRICT 1
  37. /* enable basic MIDI features:
  38. - MIDI notes can be sent when in Music mode is on
  39. */
  40. #define MIDI_BASIC
  41. /* enable advanced MIDI features:
  42. - MIDI notes can be added to the keymap
  43. - Octave shift and transpose
  44. - Virtual sustain, portamento, and modulation wheel
  45. - etc.
  46. */
  47. //#define MIDI_ADVANCED
  48. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  49. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  50. #endif