summaryrefslogtreecommitdiff
path: root/firmware/export/config/fiiom3k.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-20 19:05:16 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-11-24 18:49:03 -0500
commit44acbc66291da6a8ade8571b73a10e34341a622b (patch)
tree226f9d9f971756f481455da082443f700bcfc786 /firmware/export/config/fiiom3k.h
parentb39acee3abd199d80b84c68ebfa7301b7e7a957e (diff)
downloadrockbox-44acbc66291da6a8ade8571b73a10e34341a622b.tar.gz
rockbox-44acbc66291da6a8ade8571b73a10e34341a622b.zip
Shanling Q1: enable multi-touch reporting
The FT6x06 driver used for the Shanling Q1's touchscreen has been extended to report more than one touch point. It can also return the gesture detected by the controller, but this doesn't seem to report anything useful on the Q1. Multi-touch is only useful in 3x3 grid mode since the Rockbox button API cannot report more than one touch point. The FiiO M3K uses the same driver so it's been updated to the multi-touch API, but functionality is unchanged. Change-Id: I4de42f44808d6eb902e3da212d8f936b7a5042c7
Diffstat (limited to 'firmware/export/config/fiiom3k.h')
-rw-r--r--firmware/export/config/fiiom3k.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/config/fiiom3k.h b/firmware/export/config/fiiom3k.h
index 29395bd433..61b6123a67 100644
--- a/firmware/export/config/fiiom3k.h
+++ b/firmware/export/config/fiiom3k.h
@@ -24,6 +24,7 @@
24#define HAVE_I2C_ASYNC 24#define HAVE_I2C_ASYNC
25#define HAVE_FT6x06 25#define HAVE_FT6x06
26#define FT6x06_SWAP_AXES 26#define FT6x06_SWAP_AXES
27#define FT6x06_NUM_POINTS 1
27 28
28/* Buffer for plugins and codecs. */ 29/* Buffer for plugins and codecs. */
29#define PLUGIN_BUFFER_SIZE 0x200000 /* 2 MiB */ 30#define PLUGIN_BUFFER_SIZE 0x200000 /* 2 MiB */