faces/totp: allow moving backwards through codes

Adds the ability to cycle back to the previous credential with LIGHT.
Long pressing LIGHT activates the LED.

Co-authored-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
This commit is contained in:
Max Zettlmeißl
2024-01-21 00:15:01 +01:00
committed by Matheus Afonso Martins Moreira
parent 4633be0845
commit 26e1b7bdc4
4 changed files with 35 additions and 2 deletions

View File

@@ -58,6 +58,8 @@
* o Once finished, remove the two provided examples.
*
* If you have more than one secret key, press ALARM to cycle through them.
* Press LIGHT to cycle in the other direction or keep it pressed longer to
* activate the light.
*/
#include "movement.h"