1
--- xf86Summa.xfree Tue May 25 08:55:42 1999
2
+++ xf86Summa.c Mon Aug 23 19:41:04 1999
5
* Copyright 1996 by Steven Lang <tiger@tyger.org>
7
+ * gpm summa-repeater support:
8
+ * Mon Aug 23 19:32:47 CEST 1999 Frank Holtz <frank@hof-berlin.de>
10
* Permission to use, copy, modify, distribute, and sell this software and its
11
* documentation for any purpose is hereby granted without fee, provided that
13
* PERFORMANCE OF THIS SOFTWARE.
16
-/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Summa.c,v 3.5.2.6 1999/05/25 06:55:42 hohndel Exp $ */
17
+/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Summa.c,v 3.5.2.7 1999/08/23 19:55:42 */
27
#define ABSOLUTE_FLAG 1
29
#define COMPATIBLE_FLAG 4
35
char *sumDevice; /* device file name */
38
ErrorF("%s SummaSketch X device name is %s\n", XCONFIG_GIVEN,
40
+ if (strstr(priv->sumDevice,"gpmdata")!=NULL) priv->flags |= GPM_FLAG;
47
DBG(2, ErrorF("%s opened as fd %d\n", priv->sumDevice, local->fd));
49
+ if (priv->flags & GPM_FLAG) {
50
+ ErrorF("SummaSketch GPM-Mode (%s)\n",priv->sumDevice);
51
+ priv->sumMaxX=16383; priv->sumMaxY=16383;
52
+ priv->sumXSize = priv->sumMaxX; priv->sumYSize = priv->sumMaxX;
57
err = tcgetattr(local->fd, &termios_tty);