Device supports two-fingers.
Signed-off-by: Peter Hutterer <[email protected]>
CC: Jorge JuliĆ” <[email protected]>
---
src/wcmISDV4.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c
index d8f2061..0dfb4fd 100644
--- a/src/wcmISDV4.c
+++ b/src/wcmISDV4.c
@@ -860,6 +860,19 @@ static int set_keybits_wacom(int id, unsigned long *keys)
return tablet_id;
}
+static int set_keybits_fujitsu(int id, unsigned long *keys)
+{
+ int tablet_id = 0x90; /* default to penabled */
+
+ if (id == 0x2e7) {
+ SETBIT(keys, BTN_TOOL_DOUBLETAP);
+ SETBIT(keys, BTN_TOOL_TRIPLETAP);
+ tablet_id = 0xe3;
+ }
+
+ return tablet_id;
+}
+
typedef struct {
const char *pattern; /* sscanf matching pattern to extract ID */
/* set the bits in the given keys array based on the id. return the
@@ -869,6 +882,7 @@ typedef struct {
static ISDV4ModelDesc isdv4_models[] = {
{ "WACf%x", set_keybits_wacom },
+ { "FUJ%x", set_keybits_fujitsu },
{ NULL, 0 }
};
--
1.7.2.2
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel