diff options
author | Szymon Dziok <b0hoon@o2.pl> | 2011-12-03 23:13:17 +0000 |
---|---|---|
committer | Szymon Dziok <b0hoon@o2.pl> | 2011-12-03 23:13:17 +0000 |
commit | c31f7d0121f3d4b53edabdeeabf3774f7a8940b4 (patch) | |
tree | f32dd75b012ea36cdaf3c8846eec4a9583eb078f /firmware/drivers/synaptics-mep.c | |
parent | 6b5dff4c7be02d159b7c267372f63155cc31dbb8 (diff) | |
download | rockbox-c31f7d0121f3d4b53edabdeeabf3774f7a8940b4.tar.gz rockbox-c31f7d0121f3d4b53edabdeeabf3774f7a8940b4.zip |
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
Diffstat (limited to 'firmware/drivers/synaptics-mep.c')
-rw-r--r-- | firmware/drivers/synaptics-mep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/synaptics-mep.c b/firmware/drivers/synaptics-mep.c index 48139534f2..01845bfe0c 100644 --- a/firmware/drivers/synaptics-mep.c +++ b/firmware/drivers/synaptics-mep.c | |||
@@ -561,6 +561,8 @@ int touchpad_read_device(char *data, int len) | |||
561 | /* for HDD6330 an absolute packet will follow for sensor nr 0 which we ignore */ | 561 | /* for HDD6330 an absolute packet will follow for sensor nr 0 which we ignore */ |
562 | #if defined(PHILIPS_HDD6330) | 562 | #if defined(PHILIPS_HDD6330) |
563 | if ((data[3]>>6) == 0) syn_read(tmp, 4); | 563 | if ((data[3]>>6) == 0) syn_read(tmp, 4); |
564 | // relay tap gesture packet | ||
565 | if (tmp[1]==0x02) { data[1]=0x02; data[2]=0x00; data[3]=0x00; } | ||
564 | #endif | 566 | #endif |
565 | logf(" pos %d", val); | 567 | logf(" pos %d", val); |
566 | logf(" z %d", data[3]); | 568 | logf(" z %d", data[3]); |