[FL-938] Keyboard widget changes (#398)

* inputs: add repeat event
* byte_input: change draw
* text_input, byte_input: process repeat event
This commit is contained in:
gornekich
2021-04-01 20:10:12 +03:00
committed by GitHub
parent 37131dbe12
commit 78ff0c9fca
5 changed files with 30 additions and 16 deletions

View File

@@ -10,6 +10,7 @@ typedef enum {
InputTypeRelease, /* Release event, emitted after debounce */
InputTypeShort, /* Short event, emitted after InputTypeRelease done withing INPUT_LONG_PRESS interval */
InputTypeLong, /* Long event, emmited after INPUT_LONG_PRESS interval, asynchronouse to InputTypeRelease */
InputTypeRepeat, /* Repeat event, emmited with INPUT_REPEATE_PRESS period after InputTypeLong event */
} InputType;
/* Input Event, dispatches with PubSub */