rk: key.h add EV_ENCALL EV_MENU PRESS_LEV_LOW/HIGH define
author黄涛 <huangtao@rock-chips.com>
Mon, 17 Dec 2012 07:31:03 +0000 (15:31 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 17 Dec 2012 07:31:03 +0000 (15:31 +0800)
arch/arm/plat-rk/include/plat/key.h

index 0197358f4596fe9d4fe2e632a437c63af91333c1..a564b95dbc6c92e27f126b5623a9ce006835af95 100755 (executable)
@@ -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;