QMK Firmware Tutorial: coding custom per layer animation effects from source code for the ErgoDox-Ez
Terminal_Heat_Sink
Hello there ladies and gentlemen, Today we will be coding a routine for custom per layer animations. This guide is specific to ErgoDox-Ez but should help you understand how the led matrix works and you should be able to apply it to your keyboard.
Here is my ergodox layout featured in the video https://configure.ergodox-ez.com/ergodox-ez/search?q=artiom&legacy=false
qmk firmware https://github.com/qmk/qmk_firmware
the code we did in the video https://github.com/ArtiomSu/qmk_firmware https://github.com/ArtiomSu/qmk_firmware/tree/master/keyboards/ergodox_ez/keymaps/artiom_no_mouse_youtube
Time stamps: 00:06:14 code config ( config.h and rules.mk ) 00:08:00 keymap.c intro 00:11:54 first flash 00:13:44 disable the 3 leds on the top 00:14:49 customise the 3 leds ( custom boot animation ) 00:17:03 creating our custom animation function ( here the code really begins ) 00:21:48 modifying predetermined colors and some HSV vs RGB explaination 00:28:36 Creating custom keycodes to allow us to toggle rgb 00:31:18 Create our first proper animation 00:34:42 Implement a proper custom delay ( that will allow us to speed up and slow down the animations ) 00:41:04 Change delay using keys ( and delay works properly now so animations play nicely ) 00:49:04 Sequence animation, this is what you came here for 00:56:01 Animate snake 01:03:15 Animate Second layer ( same principle as the first but did it just incase someone is unfamiliar ) 01:10:26 You made it, Thank you for watching
If you like what I do you can support me on Patreon. Patreon members get access to content earlier than here. ( I make videos unlisted for usually a day so patreons get a special link to view ) https://www.patreon.com/user?u=28429069
Or you can Also send a few bits and bobs on paypal if you wish https://paypal.me/artiomSudo
I also have a telegram group you can join if you want https://t.me/Terminal_Heat_Sink_Group
Affiliate Links: TubeBuddy handy youtube extension https://www.tubebuddy.com/TerminalHeatSink
Music used in the video: Perilune - AERØHEAD https://soundcloud.com/aerohead Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0 Free Download / Stream: https://bit.ly/aerohead-perilune Music promoted by Audio Library https://youtu.be/OHduxKdE4zs
Lonely Road by From Ashes https://soundcloud.com/fromashesedm Creative Commons — Attribution 3.0 Unported — CC BY 3.0 Free Download / Stream: https://bit.ly/lonely-road-from-ashes Music promoted by Audio Library https://youtu.be/emnqVhZ8TT8
Lights Of Elysium - AERØHEAD https://soundcloud.com/aerohead Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0 Free Download / Stream: https://bit.ly/lights-of-elysium Music promoted by Audio Library https://youtu.be/FyDoQB0vBZI
Aurora by Nomyn htt ... https://www.youtube.com/watch?v=x6pWqjC39_I
306990187 Bytes