keychron_qmk_firmware/users
Jonathan Rascher 93bc737a8f
[Keymap] Update bcat's keymaps/userspace to share logic, add OLED functionality, and set up one of my macropads for WFH (#14702)
* Add script to build all bcat keymaps at once

* Move userspace RGB to separate source file

* Move layer handling logic into userspace

* Move keycap aliases into userspace

* Add OLED userspace library and Lily58 OLED setup

* Add Luna keyboard pet, generic OLED pet framework

Luna artwork and original implementation by HellSingCoder, licensed
under GPL v2.0.

See also: 6dfe915e26/keyboards/sofle/keymaps/helltm/keymap.c

* Use OLED on bcat's Crkbd

I had to turn off a few unused features to address firmware size limits.

* Remove vestigial NK_TOGG keybindings

* Add post-render hook to OLED pet API

This enables OLED pets to draw custom widgets (e.g., LED indicator
status) on top of their animation frames.

* Add Isda keyboard pet

For future use on my Unicorne keyboard. Unicorn artwork by sparrow666,
licensed under GPL v2.0.

See also: https://opengameart.org/content/unicorn-2

* Replace OLED timeout implementation with custom

The default implementation never lets the OLED turn off if a continuous
animation is in progress. The custom one does.

* Move keyboard state for OLED functions into struct

No change in firmware size, but makes keymaps read a little nicer and
enables more functionality in OLED pets.

* Enable continuously running OLED pet (for Luna)

* Sync OLED state; enable Bootmagic only when needed

The new extensible split transport for Split Common finally allows OLED
on/off status to be synced between halves of the keyboard. :)

Unfortunately, this required disabling Bootmagic Lite to keep my Crkbd
under the firmware size limit. (I now after 28 bytes free on avr-gcc
version 8.5.0.) So now I'll enable Bootmagic only on keyboards that
actually require it, i.e., ones lacking an accessible reset button.

* Update 9-Key macropad keymap for working from home

* Remove includes redundant with quantum.h

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Simplify BCAT_OLED_PET makefile logic

* Swap some keys on my 9-Key macropad around

* Inline spurious variable in OLED code

* Remove max brightness that's now set by default

The default max brightness is only 120 rather than 150, but that might
actually fix some weirdness I've seen with bright white LED settings.

* Enable specific RGBLIGHT modes instead of default

The general trend these days seems to be enabling only the modes you
want, so I'm manually expanding the ones currently enabled by
RGBLIGHT_ANIMATIONS.

I'd like to try out the TWINKLE mode too, but it seems not to work at
all on ARM right now, and all my usable RGBLIGHT keebs are ARM boards.

* Reenable RGB_MATRIX animations after #15018

My Crkbd still has a reasonable amount of free space with these:
27974/28672 (97%, 698 bytes free). The RGB_MATRIX_KEYPRESSES effects
would put it over the firmware size limit, but I really don't ever use
those anyway.

* Use new get_u8_str function for WPM display

Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-12-27 14:46:00 +11:00
..
_example
333fred [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
ajp10304 [Keymap] ajp10304: add mouse scroll keys (#14953) 2021-10-29 16:30:23 -07:00
alfrdmalr
anderson
arkag [Keymap] arkag userspace/keymap -- new macro and minor preonic keymap change (#14623) 2021-09-28 12:21:10 -07:00
art
badger
bbaserdem Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
bcat [Keymap] Update bcat's keymaps/userspace to share logic, add OLED functionality, and set up one of my macropads for WFH (#14702) 2021-12-27 14:46:00 +11:00
billypython [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
brandonschlack
brett
callum
cbbrowne
cjuniet
csc027
curry Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
cwebster2 [Keymap] cwebster2 Keymap and userspace updates (#14258) 2021-08-31 17:50:42 -07:00
d4mation Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
danielo515 keymap_extras: Remove deprecated defines (#12949) 2021-07-06 09:05:11 +10:00
datagrok
dennytom/chording_engine Cleanup issues identified by lgtm (#14459) 2021-09-27 10:02:54 -07:00
devdev
dhertz
doogle999 Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
draevin Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
drashna [Keymap] Unicode and Pointing Device and Autocorect for drashna keymaps (#15415) 2021-12-14 20:53:36 -08:00
dshields Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
dudeofawesome
edvorakjp [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
ericgebhart Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
gary
gordon Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
greatwizard
haervig [Keymap] Add haervig userspace and keymaps (#13362) 2021-07-01 10:12:19 -07:00
hvp [Keymap] hvp keymap for Cornelius, updated ut47.2 and userspace (#14187) 2021-09-01 20:44:36 -07:00
ibnuda [Keymap] reflects current rick's keymap (#14169) 2021-08-31 11:23:02 -07:00
imchipwood [Keymap] Adding user code & keymaps for dumbpad & hotdox (#12924) 2021-07-20 09:40:54 -07:00
ishtob
issmirnov Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
jackhumbert
jarred
jdelkins Merge remote-tracking branch 'origin/master' into develop 2021-08-13 19:29:21 +00:00
jjerrell [Keymap] JJerrell - Add Userspace and ZSA Keyboard Keymaps (#13548) 2021-08-12 07:44:15 -07:00
jonavin [Keymap] Jonavin kbd 67 keymap with advance RGB functions (#15527) 2021-12-24 17:23:24 -08:00
kageurufu
klackygears
konstantin [Keymap] Updates to existing keymaps and userspace (#14503) 2021-09-19 11:47:40 -07:00
kuatsure [Keymap] add kuatsure planck keymap (#10625) 2021-08-12 08:56:25 -07:00
kuchosauronad0 [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
losinggeneration Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
manna-harbour_miryoku [Keymap] Update Miryoku (#14827) 2021-10-15 22:33:45 -07:00
mattly
mechmerlin [Keymap] Disable in-switch RGB when computer goes to bed (#14993) 2021-10-30 21:17:42 -07:00
mguterl
miles2go Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
mnil Remove deprecated defines from my keymaps (#15353) 2021-11-30 16:45:08 +11:00
moults31 [Keymap] moults31 userspace and keymaps (#12025) 2021-09-10 18:56:50 -07:00
mtdjr [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
mverteuil
narze [Keymap] Add narze lily58 keymap & update my other keymaps (#13110) 2021-07-03 00:50:32 -07:00
nchristus
ninjonas [Core] Change OLED task function to be boolean (#14864) 2021-11-02 09:42:50 +11:00
noroadsleft Update noroadsleft userspace and keymaps (2021-12-13) (#15470) 2021-12-13 23:42:43 -08:00
not-quite-neo
nstickney Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
pcoves
peej
pvinis [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
replicaJunction [Keymap] clean up userspace, add XD75 / Keyboardio Atreus (#13121) 2021-08-13 18:14:21 -07:00
riblee [Core] Change OLED task function to be boolean (#14864) 2021-11-02 09:42:50 +11:00
ridingqwerty Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
rishka
rmw
romus Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rossman360
rs
rupa
rverst
scheiklp K.O.Y and German layout for several boards (#14991) 2021-12-27 14:40:47 +11:00
sethBarberee [Core] Refactor OLED to allow easy addition of other types (#13454) 2021-08-24 16:28:26 +10:00
sigma
sigul keymap_extras: Remove deprecated defines (#12949) 2021-07-06 09:05:11 +10:00
snowe [Core] Change OLED task function to be boolean (#14864) 2021-11-02 09:42:50 +11:00
spacebarracecar keymap_extras: Remove deprecated defines (#12949) 2021-07-06 09:05:11 +10:00
spidey3 Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
spotpuff Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
stanrc85 Enable RGB Matrix animations being used (#15338) 2021-11-28 20:00:37 +00:00
talljoe Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
tominabox1 Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
turbomech [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
twschum
txkyel [Userspace] Add custom tap dancing function (#13963) 2021-08-11 00:19:19 -07:00
vosechu
wanleg Move Bluetooth config to common_features.mk (#14404) 2021-09-12 08:22:03 -07:00
xtonhasvim
xulkal Require explicit enabling of RGB Matrix modes (#15018) 2021-11-15 10:41:04 -08:00
yanfali Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
yet-another-developer
zer09
zigotica zigotica userspace rows tweak: TAB in default STENAI layer, ESC in sym/fn layers (#15525) 2021-12-21 09:20:05 -08:00
readme.md
yanfali_wkl

User space

This is a place for users to put code that they might use between keyboards. If you build the keymap mine, /users/mine/rules.mk will be included in your build, and /users/mine/ will be in your path - keep these things in mind when naming your files and referencing them from other places.