Lines Matching +defs:compat +defs:c
4 ** Copyright (c) 1995 Michael Smith, All rights reserved.
165 char *compat; /* list of compatible drivers, optional */
336 /* Logitech serial compat */
559 int c;
566 while ((c = getopt(argc, argv, "3A:C:DE:F:HI:L:PRS:T:VU:a:cdfhi:l:m:p:r:st:w:z:")) != -1)
567 switch(c) {
607 case 'c':
1000 int c;
1057 c = select(FD_SETSIZE, &fds, NULL, NULL,
1060 if (c < 0) { /* error */
1063 } else if (c == 0) { /* timeout */
1395 /* $XConsortium: xf86_Mouse.c,v 1.2 94/10/12 20:33:21 kaleb Exp $ */
1396 /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86_Mouse.c,v 3.2 1995/01/28
1429 /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86_Mouse.c,v 3.19 1996/10/16 14:40:51 dawes Exp $ */
1430 /* $XConsortium: xf86_Mouse.c /main/10 1996/01/30 15:16:12 kaleb $ */
1521 pnpid.ncompat, pnpid.ncompat, pnpid.compat,
1584 char c;
1626 ** Some additional lines in xf86Config.c take care of ill configured
1687 if (rodent.resolution == MOUSE_RES_LOW) c = 'g';
1688 else if (rodent.resolution == MOUSE_RES_MEDIUMLOW) c = 'e';
1689 else if (rodent.resolution == MOUSE_RES_MEDIUMHIGH) c = 'h';
1690 else if (rodent.resolution == MOUSE_RES_HIGH) c = 'd';
1691 else if (rodent.resolution <= 40) c = 'g';
1692 else if (rodent.resolution <= 100) c = 'd';
1693 else if (rodent.resolution <= 200) c = 'e';
1694 else if (rodent.resolution <= 500) c = 'h';
1695 else if (rodent.resolution <= 1000) c = 'j';
1696 else c = 'd';
1697 write(rodent.mfd, &c, 1);
1716 read(rodent.mfd, &c, 1);
1717 debug("%c", c);
1718 if (c != *s)
1765 read(rodent.mfd, &c, 1);
1766 buf[i] = c;
1778 read(rodent.mfd, &c, 1);
1779 debug("%c", c);
1780 if (c != buf[i])
1891 * c) bad header-package
2622 /* $XConsortium: posix_tty.c,v 1.3 95/01/05 20:42:55 kaleb Exp $ */
2623 /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/posix_tty.c,v 3.4 1995/01/28 17:05:03 dawes Exp $ */
2653 const char *c;
2697 c = "*q";
2702 c = "*p";
2707 c = "*o";
2713 c = "*n";
2721 if (write(rodent.mfd, c, 2) != 2)
2883 char c;
2901 while (read(rodent.mfd, &c, 1) == 1) {
2903 buf[i++] = c;
2904 if ((c == 0x08) || (c == 0x28)) { /* Begin ID */
2905 debug("begin-id %02x", c);
2909 debug("%c %02x", c, c);
2918 ++c; /* make it `End ID' */
2928 if (buf[i++] == c) /* End ID */
2940 if (buf[i - 1] == c)
2966 id->compat = NULL;
2989 debug("non-PnP mouse '%c'", buf[0]);
3059 id->compat = &buf[j];
3122 for (j = i; id->compat[i] != ','; ++i)
3126 t = gettoken(pnpprod, id->compat + j, i - j);