zmkfirmware / zmk

ZMK Firmware Repository
https://zmk.dev/
MIT License
2.64k stars 2.71k forks source link

LED array driver for simple indications #1436

Open danricho opened 2 years ago

danricho commented 2 years ago

Hi everyone, I'm still pretty new to ZMK so I hope I'm not duplicating.

I'm designing a shield and I'm thinking about additional features I'd like to add to it. I'd like to add an array of LEDs (5-10 long) which could be configured in ZMK to show various things (triggered by keypress defined in the keymap).

The types of things I'd like to be able to show are:

For energy preservation there would obviously be a timeout on the LEDS being lit after they are triggered.

For reference, I asked on Discord and the following examples were shared (thanks!):

alinelena commented 2 years ago

i wlll add #999 to this as resource

Xoffio commented 1 year ago

@danricho I just posted a pull request that does that #1475. if you really need it and my code does not makes it to the main branch, then you can always set your west file pointing at my branch. :)