1
0
Fork 0

[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
This commit is contained in:
Jonathan Rascher 2019-11-01 20:48:58 -05:00 committed by Drashna Jaelre
parent f5cf5b950f
commit 1f6cb53fb3
16 changed files with 50 additions and 63 deletions

6
users/bcat/bcat.c Normal file
View file

@ -0,0 +1,6 @@
#include "quantum.h"
#if defined(RGBLIGHT_ENABLE)
/* Adjust RGB static hue ranges for shorter gradients than default. */
const uint8_t RGBLED_GRADIENT_RANGES[] PROGMEM = {255, 127, 63, 31, 15};
#endif

View file

@ -65,21 +65,3 @@
#define MOUSEKEY_WHEEL_MAX_SPEED 3
#define MOUSEKEY_WHEEL_TIME_TO_MAX 150
#endif
#if defined(KEYBOARD_cannonkeys_instant60)
/*
* Work around EEPROM incompatibility with VIA:
* https://github.com/qmk/qmk_firmware/issues/6589#issuecomment-524042457.
*/
#undef EEPROM_MAGIC_ADDR
#undef EEPROM_VERSION_ADDR
#undef DYNAMIC_KEYMAP_EEPROM_ADDR
#undef EEPROM_CUSTOM_BACKLIGHT
#undef DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR
#define EEPROM_MAGIC_ADDR 34
#define EEPROM_VERSION_ADDR 36
#define DYNAMIC_KEYMAP_EEPROM_ADDR 37
#define EEPROM_CUSTOM_BACKLIGHT 637
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 638
#endif

View file

@ -1,3 +1,5 @@
SRC += bcat.c
# Enable Bootmagic Lite to consistently reset to bootloader and clear EEPROM.
BOOTMAGIC_ENABLE = lite
@ -16,3 +18,6 @@ SLEEP_LED_ENABLE = no
UCIS_ENABLE = no
UNICODE_ENABLE = no
UNICODEMAP_ENABLE = no
# Enable link-time optimization to reduce binary size.
LINK_TIME_OPTIMIZATION_ENABLE = yes