diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-10-27 11:53:50 -0700 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-27 14:53:50 -0400 |
| commit | 4ffcacd92086870eb7a3102d54178a7af64edb0c (patch) | |
| tree | b30479a70abc0d0dcd6c287383eb64e8f2fee104 /quantum/quantum.h | |
| parent | 5be438f03d0ae3ebdb9e24d249fdfd7f5c573634 (diff) | |
| download | qmk_firmware-4ffcacd92086870eb7a3102d54178a7af64edb0c.tar.gz qmk_firmware-4ffcacd92086870eb7a3102d54178a7af64edb0c.zip | |
Add Bootmagic Lite to QMK (#4215)
* Preliminary additon of bootmagic lite functionality
* Cleanup code
* Clean up bootmagic code
* Add documentation and clean up code
* Make 'lite' an option for BOOTMAGIC_ENABLE
* Update Templates with note about Bootmagic Lite option
* Detect Debounce variable
* Make sure debounce is a non-zero number
* Capitalize Bootmagic
* Capitalize bootmagic
* Update wording
* Re-add EEPROM reset, by popular demand
And add eeprom-less version to drashna userspace for his sanity
* Fix spacing
* Set BOOTMAGIC_ENABLE to use full/lite/off
And default yes to "full" for compatibility
* Add Bootmagic lite info to templates
* Remove text from makefiles
* Cleanup of makefile
* mention yes in bootmagic docs
* Wordsmitthing the docs
* Fix white spaces
* Readd default bootmagic setting, because it's necessary
Diffstat (limited to 'quantum/quantum.h')
| -rw-r--r-- | quantum/quantum.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index 87a61356c..1d3ee033f 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
| @@ -224,6 +224,15 @@ bool process_action_kb(keyrecord_t *record); | |||
| 224 | bool process_record_kb(uint16_t keycode, keyrecord_t *record); | 224 | bool process_record_kb(uint16_t keycode, keyrecord_t *record); |
| 225 | bool process_record_user(uint16_t keycode, keyrecord_t *record); | 225 | bool process_record_user(uint16_t keycode, keyrecord_t *record); |
| 226 | 226 | ||
| 227 | #ifndef BOOTMAGIC_LITE_COLUMN | ||
| 228 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
| 229 | #endif | ||
| 230 | #ifndef BOOTMAGIC_LITE_ROW | ||
| 231 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 232 | #endif | ||
| 233 | |||
| 234 | void bootmagic_lite(void); | ||
| 235 | |||
| 227 | void reset_keyboard(void); | 236 | void reset_keyboard(void); |
| 228 | 237 | ||
| 229 | void startup_user(void); | 238 | void startup_user(void); |
