From c31f7d0121f3d4b53edabdeeabf3774f7a8940b4 Mon Sep 17 00:00:00 2001 From: Szymon Dziok Date: Sat, 3 Dec 2011 23:13:17 +0000 Subject: HDD6330: introduce a new button (BUTTON_TAP), based on the hardware support for gestures. From now on some things are accessible by tapping on the vertical scroll strip. Reorganize, fix and remap some of the keymaps, add missing keymap for the recording. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31132 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/philips/hdd6330/button-target.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/philips/hdd6330/button-target.h') diff --git a/firmware/target/arm/philips/hdd6330/button-target.h b/firmware/target/arm/philips/hdd6330/button-target.h index 492a5014e5..8d4ed5ef5f 100644 --- a/firmware/target/arm/philips/hdd6330/button-target.h +++ b/firmware/target/arm/philips/hdd6330/button-target.h @@ -29,6 +29,7 @@ #define MEP_BUTTON_ID 0x9 #define MEP_ABSOLUTE_HEADER 0x0b #define MEP_FINGER 0x01 +#define MEP_GESTURE 0x02 #define HAS_BUTTON_HOLD @@ -53,7 +54,8 @@ void button_int(void); #define BUTTON_NEXT 0x00000200 #define BUTTON_PREV 0x00000400 #define BUTTON_PLAY 0x00000800 -#define BUTTON_MAIN 0x00000fff +#define BUTTON_TAP 0x00001000 +#define BUTTON_MAIN 0x00001fff /* No Remote control */ #define BUTTON_REMOTE 0 -- cgit v1.2.3