tillitis / tkey-libs

TKey device libs
GNU General Public License v2.0
4 stars 2 forks source link

Implement a wait for touch function #29

Closed mchack-work closed 4 months ago

mchack-work commented 5 months ago

A function to wait for a touch event is useful for other programs. Let's move it from the signer to tkey-libs.

As a part of that we want to restore the original LED value after blinking, so we also introduce a new function to get the current LED.