1
0
Fork 0
forked from forks/qmk_firmware
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
..
333fred [Bug] Develop - Change uint32_t to layer_state_t (#13596) 2021-07-19 09:50:55 -07:00
_example Creates a userspace for keymaps (#1559) 2017-10-21 11:44:11 -10:00
ajp10304 [Keymap] ajp10304: add mouse scroll keys (#14953) 2021-10-29 16:30:23 -07:00
alfrdmalr [Userspace] alfrdmalr: swap # and @ symbols (#8469) 2020-03-17 21:44:55 -07:00
anderson [Keyboard] Added D48 keyboard (#8548) 2020-05-08 23:59:50 -07:00
arkag [Keymap] arkag userspace/keymap -- new macro and minor preonic keymap change (#14623) 2021-09-28 12:21:10 -07:00
art Art userspace (#9068) 2020-05-19 22:05:32 +01:00
badger [Keymap] Badger keymaps/userspace (#10239) 2020-09-16 21:03:28 -07:00
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 add missing _MACRO to users/brandonschlack/brandonschlack.h 2021-01-30 13:11:33 -08:00
brett [Keymap] Added HHKB Keymap and user config (#8119) 2020-03-10 01:52:39 -07:00
callum rename callum's custom keycode that conflicts with a LUFA define 2021-01-30 13:11:33 -08:00
cbbrowne Adopted LAYOUT, added some keys (#5320) 2019-03-05 12:22:51 -08:00
cjuniet [Keymap] Add @cjuniet's keymap/layout/userspace (#8258) 2020-03-04 17:19:26 -08:00
csc027 [Keymap] csc027/keymap-updates (#12694) 2021-05-13 20:54:41 -07:00
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 create users/datagrok (#7653) 2020-01-26 23:26:40 -05:00
dennytom/chording_engine Cleanup issues identified by lgtm (#14459) 2021-09-27 10:02:54 -07:00
devdev [Keymap] add personal keymap files, and sofle_rgb default maps, (#12267) 2021-05-26 22:30:34 -07:00
dhertz [Keymap] Add dhertz' kanu layout (#11346) 2021-01-12 17:53:15 -08:00
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 Fix for issue #10386 - Can't compile preonic:dudeofawesome (#10557) 2020-10-14 13:41:34 +11:00
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 [Keymap] Adding garyjzhao's Iris keymap (#6980) 2019-10-09 12:05:31 -07:00
gordon Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
greatwizard 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
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 Remove MIDI_ENABLE_STRICT from user keymaps (#11750) 2021-02-06 09:35:10 +11:00
issmirnov Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
jackhumbert Creates a userspace for keymaps (#1559) 2017-10-21 11:44:11 -10:00
jarred [Keymap] Add leaf60 and tada68 keymaps (#6645) 2019-08-31 11:20:10 -07:00
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 Features/ws2812 matrix driver (#5418) 2019-04-14 17:50:35 -07:00
klackygears Klackygears add user and handwired brain (#9154) 2020-06-28 12:07:57 +01:00
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 mattly goes windows (#9677) 2020-07-21 17:08:56 -07:00
mechmerlin [Keymap] Disable in-switch RGB when computer goes to bed (#14993) 2021-10-30 21:17:42 -07:00
mguterl [Keymap] Add userspace and personal keymaps (#7093) 2019-10-22 10:41:14 -07:00
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 [Keymap] Added mverteuil keymaps and userspace common code (#7876) 2020-01-18 11:24:56 -08:00
narze [Keymap] Add narze lily58 keymap & update my other keymaps (#13110) 2021-07-03 00:50:32 -07:00
nchristus [Keymap] Added nchristus userspace (#10261) 2020-09-08 22:33:38 -07:00
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 Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
nstickney Remove BOOTMAGIC_ENABLE = lite option (#15002) 2021-11-05 08:18:09 +11:00
pcoves Add pcoves's userspace (#9354) 2020-07-08 21:57:11 +01:00
peej [Keymap] Add peej userspace and keymaps (#11332) 2021-01-19 13:10:28 +11:00
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 [Keymap] Ergodox EZ and dactyl-manuform keymaps for rishka (#7051) 2019-10-21 20:37:33 -07:00
rmw [Keymap] Adding my keymaps for ergodox_ez and kyria (#9365) 2020-06-29 10:23:13 -07:00
romus Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rossman360 rebound rev4, consolodated switch matrix from 5x12 to 7x8 (#9314) 2020-06-20 08:27:27 +10:00
rs 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
rupa userspace and keymap changes for rupa (#10489) 2020-11-10 16:04:46 +11:00
rverst [Keymap] Feature/extend keymap (#12778) 2021-06-24 12:23:43 +10:00
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 [Keymap] fix sigma keymaps build (#8427) 2020-03-15 21:42:10 -07:00
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 [Keymap] Add DZ60, Levinson keymaps, twschum user files (#7358) 2019-11-21 03:07:33 -08:00
txkyel [Userspace] Add custom tap dancing function (#13963) 2021-08-11 00:19:19 -07:00
vosechu Add one-handed Viterbi layout for gaming (#8963) 2020-05-10 04:53:32 +01:00
wanleg Move Bluetooth config to common_features.mk (#14404) 2021-09-12 08:22:03 -07:00
xtonhasvim Keymap: Fix missing braces around initializer error on older gcc (#3840) 2018-09-03 16:55:06 -07:00
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 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
zer09 Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140) 2019-02-15 16:18:13 -08:00
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 Creates a userspace for keymaps (#1559) 2017-10-21 11:44:11 -10:00
yanfali_wkl [Keymap] Updates to personal keymaps (#8665) 2020-04-08 18:20:58 -07:00

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.