summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-03-23 22:32:50 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-04-19 17:31:13 +0400
commit397863ab3d45bdd8292512a22cd3b436cf281c76 (patch)
treea74a1fd6084875340f978ce67d4dc5ff8716c172 /firmware
parent8187d8d5d158bef269048694fd6e65d89263cd42 (diff)
hm60x: Add support for plugins.
Change-Id: I4cad0881c8249f163680a280f70d1a0b36248da8
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/rk27xx/hm60x/button-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/rk27xx/hm60x/button-target.h b/firmware/target/arm/rk27xx/hm60x/button-target.h
index e52db87bb9..ff4c9423b3 100644
--- a/firmware/target/arm/rk27xx/hm60x/button-target.h
+++ b/firmware/target/arm/rk27xx/hm60x/button-target.h
@@ -28,6 +28,10 @@
#define BUTTON_RIGHT 0x00000010
#define BUTTON_SELECT 0x00000020
+#define BUTTON_MAIN (BUTTON_UP|BUTTON_POWER| \
+ BUTTON_DOWN|BUTTON_LEFT| \
+ BUTTON_RIGHT|BUTTON_SELECT)
+
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 30