BSB Developer Docs
Loading...
Searching...
No Matches
input_test.h
1#pragma once
2
3#include <furi.h>
4
5#include <gui/gui.h>
6#include <gui/modules/label.h>
7
8#include <desktop/desktop.h>
9
10typedef enum {
11 InputTestAppEventExit,
12 InputTestAppEventKeyStateChanged,
13} InputTestAppEventType;
14
15typedef struct {
16 InputTestAppEventType type;
17 InputKey input_key;
19
20typedef struct {
21 uint32_t ok;
22 uint32_t start;
23 int32_t encoder;
24 int32_t switch_pos;
26
27typedef struct {
28 FuriEventLoop* event_loop;
29 FuriMessageQueue* event_queue;
30 FuriEventLoopTimer* timer;
31 Gui* gui;
32 Desktop* desktop;
33 InputTestAppModel input_model;
34 // Front display
35 Label* front_label;
36 // Back display
37 Widget* back_window;
38 Label* header_label;
39 Label* content_label;
40 Label* footer_label;
Functions for controlling the currently running application.
InputKey
Definition f21/furi_hal/furi_hal_resources.h:14
GUI system APIs.
A simple text label widget.
Definition desktop_i.h:23
Definition gui_i.h:48
Definition input_test.h:15
Definition input_test.h:27
Definition input_test.h:20
Definition label.c:9
Definition widget_i.h:35