diff options
| author | Jonathan Rascher <jon@bcat.name> | 2019-11-01 20:48:58 -0500 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-11-01 18:48:58 -0700 |
| commit | 1f6cb53fb34867827c487e523f7134bab1acab04 (patch) | |
| tree | fe92e56719f16aab9b9cf189ab810673a6191f22 /users/bcat | |
| parent | f5cf5b950f04659ae7faf1534650092023adb468 (diff) | |
| download | qmk_firmware-1f6cb53fb34867827c487e523f7134bab1acab04.tar.gz qmk_firmware-1f6cb53fb34867827c487e523f7134bab1acab04.zip | |
[Keymap] Moar personal keymap and userspace tweaks (#7238)
* Enable link-time optimization
* Make RGB static gradient ranges shorter
* Shift Quefrency media keys to the right
* Shift KBD67 media keys to the right
* Move some 60% keys from function to adjust layer
* Set "extra" Lily58 keys to browser back/forward
* Remove Instant60 EEPROM hack after #6968
* Remove unnecessary bits from macropad keymaps
* Update KLE images
Diffstat (limited to 'users/bcat')
| -rw-r--r-- | users/bcat/bcat.c | 6 | ||||
| -rw-r--r-- | users/bcat/config.h | 18 | ||||
| -rw-r--r-- | users/bcat/rules.mk | 5 |
3 files changed, 11 insertions, 18 deletions
diff --git a/users/bcat/bcat.c b/users/bcat/bcat.c new file mode 100644 index 000000000..bea64dbaa --- /dev/null +++ b/users/bcat/bcat.c | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #include "quantum.h" | ||
| 2 | |||
| 3 | #if defined(RGBLIGHT_ENABLE) | ||
| 4 | /* Adjust RGB static hue ranges for shorter gradients than default. */ | ||
| 5 | const uint8_t RGBLED_GRADIENT_RANGES[] PROGMEM = {255, 127, 63, 31, 15}; | ||
| 6 | #endif | ||
diff --git a/users/bcat/config.h b/users/bcat/config.h index 5f49a4ed3..f6be07bf6 100644 --- a/users/bcat/config.h +++ b/users/bcat/config.h | |||
| @@ -65,21 +65,3 @@ | |||
| 65 | #define MOUSEKEY_WHEEL_MAX_SPEED 3 | 65 | #define MOUSEKEY_WHEEL_MAX_SPEED 3 |
| 66 | #define MOUSEKEY_WHEEL_TIME_TO_MAX 150 | 66 | #define MOUSEKEY_WHEEL_TIME_TO_MAX 150 |
| 67 | #endif | 67 | #endif |
| 68 | |||
| 69 | #if defined(KEYBOARD_cannonkeys_instant60) | ||
| 70 | /* | ||
| 71 | * Work around EEPROM incompatibility with VIA: | ||
| 72 | * https://github.com/qmk/qmk_firmware/issues/6589#issuecomment-524042457. | ||
| 73 | */ | ||
| 74 | #undef EEPROM_MAGIC_ADDR | ||
| 75 | #undef EEPROM_VERSION_ADDR | ||
| 76 | #undef DYNAMIC_KEYMAP_EEPROM_ADDR | ||
| 77 | #undef EEPROM_CUSTOM_BACKLIGHT | ||
| 78 | #undef DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR | ||
| 79 | |||
| 80 | #define EEPROM_MAGIC_ADDR 34 | ||
| 81 | #define EEPROM_VERSION_ADDR 36 | ||
| 82 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 37 | ||
| 83 | #define EEPROM_CUSTOM_BACKLIGHT 637 | ||
| 84 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 638 | ||
| 85 | #endif | ||
diff --git a/users/bcat/rules.mk b/users/bcat/rules.mk index 107b470ed..6d3444b2c 100644 --- a/users/bcat/rules.mk +++ b/users/bcat/rules.mk | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | SRC += bcat.c | ||
| 2 | |||
| 1 | # Enable Bootmagic Lite to consistently reset to bootloader and clear EEPROM. | 3 | # Enable Bootmagic Lite to consistently reset to bootloader and clear EEPROM. |
| 2 | BOOTMAGIC_ENABLE = lite | 4 | BOOTMAGIC_ENABLE = lite |
| 3 | 5 | ||
| @@ -16,3 +18,6 @@ SLEEP_LED_ENABLE = no | |||
| 16 | UCIS_ENABLE = no | 18 | UCIS_ENABLE = no |
| 17 | UNICODE_ENABLE = no | 19 | UNICODE_ENABLE = no |
| 18 | UNICODEMAP_ENABLE = no | 20 | UNICODEMAP_ENABLE = no |
| 21 | |||
| 22 | # Enable link-time optimization to reduce binary size. | ||
| 23 | LINK_TIME_OPTIMIZATION_ENABLE = yes | ||
