projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
405d7b8
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/plat-rk/include/plat/key.h
b/arch/arm/plat-rk/include/plat/key.h
index 0197358f4596fe9d4fe2e632a437c63af91333c1..a564b95dbc6c92e27f126b5623a9ce006835af95 100755
(executable)
--- 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;