mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
6b5dff4c7b
commit
c31f7d0121
6 changed files with 69 additions and 37 deletions
|
@ -561,6 +561,8 @@ int touchpad_read_device(char *data, int len)
|
|||
/* for HDD6330 an absolute packet will follow for sensor nr 0 which we ignore */
|
||||
#if defined(PHILIPS_HDD6330)
|
||||
if ((data[3]>>6) == 0) syn_read(tmp, 4);
|
||||
// relay tap gesture packet
|
||||
if (tmp[1]==0x02) { data[1]=0x02; data[2]=0x00; data[3]=0x00; }
|
||||
#endif
|
||||
logf(" pos %d", val);
|
||||
logf(" z %d", data[3]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue