From 9cbfc2f05c1dbe6d5f4182a717f691b6208fdd36 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 17 Nov 2010 09:25:15 +1000 Subject: Change the XI type from HYPERPEN to STYLUS. STYLUS is also what the wacom driver uses. Signed-off-by: Peter Hutterer --- src/xf86HyperPen.c | 4 +--- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3