geekhack

geekhack Community => Keyboards => Topic started by: CarnageHimura on Tue, 28 July 2020, 14:52:57

Title: Help with nostalgic Knight Rider lighting effect on Drop Alt
Post by: CarnageHimura on Tue, 28 July 2020, 14:52:57
Hi all, I know I'm talking about 2 things not much apreciated here: the Drop Alt and Light effects... but, my Black high profile barely arrives and, honestly, I like the RGB things because I can put they in red and never change it.

Checking the included effects I saw this effect on the edge light strip with red scrolling and I'm wondering if there is a way to make that go from left to right and back, like the Knigh Rider K.I.T.T. front.

I'm really a noob in QMK, and as you probably know the Drop web configurator is very limited, so I'm looking for help here.

Thank you in advance for your time!!

Title: Re: Help with nostalgic Knight Rider lighting effect on Drop Alt
Post by: -Jerry- on Wed, 29 July 2020, 14:31:14
There is a built in light effect in QMK called 'knight' activated by the code rgblight_effect_knight that acts as you describe, in KITT fashion.

If you're using QMK, you can bind it to any key with the keycode RGB_MODE_KNIGHT
(https://media0.giphy.com/media/ZZNOScZU1uvFFB7hkT/giphy.gif)

It's probably worth pointing out, in case you aren't aware, that you can avoid using the DROP configurator and use the regular QMK Configurator as there's a listing in there for the Drop Alt (https://config.qmk.fm/#/massdrop/alt/LAYOUT_65_ansi_blocker)
Title: Re: Help with nostalgic Knight Rider lighting effect on Drop Alt
Post by: CarnageHimura on Wed, 29 July 2020, 16:22:49
Thank you for your reply Jerry!! I wasn't aware of the compatibility on the QMK configurator! let me check that, because in a quick watch I didn't see a light configuration option, actually I have a 6 layer configuration made on the Drop configurator, and I see a tutorial in wich they load the firmware file on Visual Studio Code and from there they can make changes at the configuration of the layers.

So, if I can do that, thechnically I can replace the lighting effect of my specific layer with RGB_MODE_KNIGT and it should work?

Thank you and sorry for my total noobness in how QMK works
Title: Re: Help with nostalgic Knight Rider lighting effect on Drop Alt
Post by: -Jerry- on Wed, 29 July 2020, 16:41:32
Sure can, you can set either colours or effects per layer thanks to the RGBLIGHT_LAYERS functions in QMK.

You can find all the information here in the QMK documentation (https://beta.docs.qmk.fm/using-qmk/hardware-features/lighting/feature_rgblight).

I don't have it done as effects, but rather colours, but you can get it working like this, with a different lighting state on each layer.

(https://media2.giphy.com/media/gKHJtSp1o7Cn1sdNR2/giphy.gif)