diff options
author | joshua stein <jcs@cvs.openbsd.org> | 2013-05-31 19:21:10 +0000 |
---|---|---|
committer | joshua stein <jcs@cvs.openbsd.org> | 2013-05-31 19:21:10 +0000 |
commit | f3511ec8d6875fb32eb7cbc883c87d05264422be (patch) | |
tree | 175e5d92eaf0cfc7bd7d7b967f3e47a7fe1e13e6 /sys/dev/pckbc/pmsreg.h | |
parent | ad7b44d397835c1db78fd0e2503e49b5c856ccfc (diff) |
add elantech v4 (clickpad) support
tested on an asus ux21a
ok mpi@ stsp@
Diffstat (limited to 'sys/dev/pckbc/pmsreg.h')
-rw-r--r-- | sys/dev/pckbc/pmsreg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pckbc/pmsreg.h b/sys/dev/pckbc/pmsreg.h index 23fbbfce549..55d8b59604d 100644 --- a/sys/dev/pckbc/pmsreg.h +++ b/sys/dev/pckbc/pmsreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmsreg.h,v 1.9 2012/10/29 11:54:45 stsp Exp $ */ +/* $OpenBSD: pmsreg.h,v 1.10 2013/05/31 19:21:09 jcs Exp $ */ /* $NetBSD: psmreg.h,v 1.1 1998/03/22 15:41:28 drochner Exp $ */ #ifndef SYS_DEV_PCKBC_PMSREG_H @@ -188,5 +188,12 @@ #define ELANTECH_V2_X_MAX 1152 #define ELANTECH_V2_Y_MAX 768 +/* V4 */ +#define ELANTECH_MAX_FINGERS 5 +#define ELANTECH_V4_WEIGHT_VALUE 5 + +#define ELANTECH_V4_PKT_STATUS 0x10 +#define ELANTECH_V4_PKT_HEAD 0x11 +#define ELANTECH_V4_PKT_MOTION 0x12 #endif /* SYS_DEV_PCKBC_PMSREG_H */ |