diff options
author | Drashna Jaelre <drashna@live.com> | 2018-10-01 17:53:14 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-01 20:53:14 -0400 |
commit | e885c793bcffcba03e18e93e41120b21cdfb6b75 (patch) | |
tree | 9018aab46625ff555b32190dd3e141a39f2ef872 /keyboards/ergodox_ez/keymaps/rgb_layer/config.h | |
parent | 4318797d198b58bb807b3e436c7d8924d8b4a6fe (diff) | |
download | qmk_firmware-e885c793bcffcba03e18e93e41120b21cdfb6b75.tar.gz qmk_firmware-e885c793bcffcba03e18e93e41120b21cdfb6b75.zip |
Add Function level EECONFIG code for EEPROM (#3084)
* Add Function level EEPROM configuration
Add kb and user functions for EEPROM, and example of how to use it.
* Bug fixes and demo
* Additional cleanup
* Add EEPROM reset macro to example
* Forgot init function in list
* Move eeconfig_init_quantum function to quantum.c and actually set default layer
* See if removing weak quantum function fixes issue
* Fix travis compile error
* Remove ifdef blocks from EECONFIG so settings are always set
* Fix for ARM EEPROM updates
* Fix merge issues
* Fix potential STM32 EEPROM issues
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/rgb_layer/config.h')
-rw-r--r-- | keyboards/ergodox_ez/keymaps/rgb_layer/config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/keymaps/rgb_layer/config.h b/keyboards/ergodox_ez/keymaps/rgb_layer/config.h new file mode 100644 index 0000000000..59302b8003 --- /dev/null +++ b/keyboards/ergodox_ez/keymaps/rgb_layer/config.h @@ -0,0 +1,24 @@ +#ifndef KEYMAP_CONFIG_H +#define KEYMAP_CONFIG_H + + + #define RGBLIGHT_SLEEP + + +#ifndef QMK_KEYS_PER_SCAN +#define QMK_KEYS_PER_SCAN 4 +#endif // !QMK_KEYS_PER_SCAN + +#define IGNORE_MOD_TAP_INTERRUPT +#undef PERMISSIVE_HOLD +#undef PREVENT_STUCK_MODIFIERS + + +#define FORCE_NKRO + +#ifndef TAPPING_TOGGLE +#define TAPPING_TOGGLE 1 +#endif + +#endif // !USERSPACE_CONFIG_H + |