From d52f15b1b84f7b51bdd3fe42a40bf575d0d987d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 17 Dec 2012 15:31:03 +0800 Subject: [PATCH] rk: key.h add EV_ENCALL EV_MENU PRESS_LEV_LOW/HIGH define --- arch/arm/plat-rk/include/plat/key.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/plat-rk/include/plat/key.h b/arch/arm/plat-rk/include/plat/key.h index 0197358f4596..a564b95dbc6c 100755 --- a/arch/arm/plat-rk/include/plat/key.h +++ b/arch/arm/plat-rk/include/plat/key.h @@ -8,6 +8,12 @@ #define ADC_SAMPLE_TIME 100 +#define EV_ENCALL KEY_F4 +#define EV_MENU KEY_F1 + +#define PRESS_LEV_LOW 1 +#define PRESS_LEV_HIGH 0 + struct rk29_keys_button { int code; int code_long_press; -- 2.34.1