EX-Display
EX-Display
Loading...
Searching...
No Matches
/home/runner/work/EX-Display/EX-Display/InputActions.h
Go to the documentation of this file.
1
/*
2
* © 2024 Peter Cole
3
*
4
* This is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* It is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this code. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef INPUTACTION_H
19
#define INPUTACTION_H
20
22
enum
InputAction
{
23
PRESS_NONE
,
24
PRESS_UP
,
25
PRESS_DOWN
,
26
PRESS_LEFT
,
27
PRESS_RIGHT
,
28
PRESS_CENTRE
,
29
HOLD_UP
,
30
HOLD_DOWN
,
31
HOLD_LEFT
,
32
HOLD_RIGHT
,
33
HOLD_CENTRE
34
};
35
36
#endif
// INPUTACTION_H
InputAction
InputAction
Input action to be returned from the user interface to control screens and displays.
Definition
InputActions.h:22
HOLD_UP
@ HOLD_UP
Definition
InputActions.h:29
HOLD_DOWN
@ HOLD_DOWN
Definition
InputActions.h:30
HOLD_LEFT
@ HOLD_LEFT
Definition
InputActions.h:31
HOLD_CENTRE
@ HOLD_CENTRE
Definition
InputActions.h:33
PRESS_DOWN
@ PRESS_DOWN
Definition
InputActions.h:25
PRESS_UP
@ PRESS_UP
Definition
InputActions.h:24
PRESS_CENTRE
@ PRESS_CENTRE
Definition
InputActions.h:28
PRESS_RIGHT
@ PRESS_RIGHT
Definition
InputActions.h:27
PRESS_LEFT
@ PRESS_LEFT
Definition
InputActions.h:26
PRESS_NONE
@ PRESS_NONE
Definition
InputActions.h:23
HOLD_RIGHT
@ HOLD_RIGHT
Definition
InputActions.h:32
InputActions.h
Generated by
1.9.8