mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
When the user has a volume key pressed volume_key variable will contain either value 'down' or 'up', otherwise it will be empty. Signed-off-by: Ondrej Jirman <megous@megous.com>
12 lines
164 B
C
12 lines
164 B
C
#pragma once
|
|
|
|
enum {
|
|
KEY_NONE = 0,
|
|
KEY_VOLUMEDOWN = 1,
|
|
KEY_VOLUMEUP = 2,
|
|
};
|
|
|
|
int lradc_get_pressed_key(void);
|
|
void lradc_enable(void);
|
|
void lradc_disable(void);
|