UI_Lib
a1366e08a59cc549a65fa26081e6409aa12f26d5
This is a user interface library for graphical LCDs. It offers many different controls and indicators that can be nested depending on the element types.
|
Containing definitions for all available keys. More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef enum Keys | Keys_t |
Available input keys. | |
Enumerations | |
enum | Keys { KEYNONE , KEY0 , KEY1 , KEY2 , KEY3 , KEY4 , KEY5 , KEY6 , KEY7 , KEY8 , KEY9 , KEYKILO , KEYMILLI , KEYX1 , KEYMINUS , KEYLEFT , KEYRIGHT , KEYUP , KEYDOWN , KEYOK } |
Available input keys. More... | |
Functions | |
uint8_t | Keys_GetKeyNumInt (Keys_t key) |
Get a number from the key for all numeric keys (KEY0 . | |
Containing definitions for all available keys.
enum Keys |
Available input keys.
Enumeration with all different keys.
uint8_t Keys_GetKeyNumInt | ( | Keys_t | key | ) |
Get a number from the key for all numeric keys (KEY0 .
. KEY9). If an invalid (non-numeric) key is given, this function returns 100.
key | Key to convert to a number (only number keys KEY0 .. KEY9 allowed) |