diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-17 09:25:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-17 09:43:07 +1000 |
commit | 9cbfc2f05c1dbe6d5f4182a717f691b6208fdd36 (patch) | |
tree | 63aa935a478b0fbf1bcb4eeb0555ae296439d279 | |
parent | 27730d45233d09f821c88a52477f5a0fcd046ed4 (diff) |
Change the XI type from HYPERPEN to STYLUS.
STYLUS is also what the wacom driver uses.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86HyperPen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c index 5427672..dd7ad03 100644 --- a/src/xf86HyperPen.c +++ b/src/xf86HyperPen.c @@ -165,7 +165,6 @@ static struct MODEL_ID { ** Contants and macro */ #define BUFFER_SIZE 256 /* size of reception buffer */ -#define XI_NAME "HYPERPEN" /* X device name for the stylus */ #define SYSCALL(call) while(((call) == -1) && (errno == EINTR)) @@ -812,8 +811,7 @@ xf86HypAllocate(void) char *dev_name = getenv("HYPERPEN_DEV"); #endif - pInfo->name = XI_NAME; - pInfo->type_name = "HyperPen Tablet"; + pInfo->type_name = "STYLUS" pInfo->flags = 0; /*XI86_NO_OPEN_ON_INIT;*/ pInfo->device_control = xf86HypProc; pInfo->read_input = xf86HypReadInput; |