1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00
Files
u-boot-megous/board/sunxi/lradc.h
Ondrej Jirman 0ab6225154 pinephone: Add volume_key environment variable
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>
2020-02-11 14:10:05 +01:00

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);