~ubuntu-branches/ubuntu/lucid/wacom-tools/lucid

« back to all changes in this revision

Viewing changes to linuxwacom/src/xdrv/xf86Wacom.h

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2008-06-04 19:24:32 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20080604192432-uism8om4ffoex0gv
Tags: 1:0.8.0.2-2ubuntu1
* Merge with Debian unstable, remaining changes:
  - Bump the epoch because of old Ubuntu packaging.
  - debian/control:
    Change the Maintainer address.
    Bump the epoch on Replaces/Conflicts.
    Don't build wacom-kernel-source anymore (#71944).
  - debian/wacom.postinst:
    Remove old files.
  - debian/xserver-xorg-input-wacom.init.d, debian/rules:
    Initscript for serial devices.
  - debian/rules: Disable the scaling quirk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
#define XI_STYLUS "STYLUS"      /* X device name for the stylus */
120
120
#define XI_CURSOR "CURSOR"      /* X device name for the cursor */
121
121
#define XI_ERASER "ERASER"      /* X device name for the eraser */
122
 
#define XI_PAD    "PAD"         /* X device name for the I3 Pad */
 
122
#define XI_PAD    "PAD"         /* X device name for the Pad */
 
123
#define XI_TOUCH  "TOUCH"       /* X device name for the touch */
123
124
 
124
125
/******************************************************************************
125
126
 * WacomModule - all globals are packed in a single structure to keep the
156
157
 ****************************************************************************/
157
158
 
158
159
#define xf86WcmFlushTablet(fd) xf86FlushInput(fd)
159
 
#define xf86WcmWaitForTablet(fd) xf86WaitForInput((fd), 1000000)
160
160
#define xf86WcmSetSerialSpeed(fd,rate) xf86SetSerialSpeed((fd),(rate))
161
161
 
162
162
#define xf86WcmRead(a,b,c) xf86ReadSerial((a),(b),(c))
196
196
 
197
197
Bool xf86WcmOpen(LocalDevicePtr local);
198
198
 
 
199
/* device autoprobing */
 
200
char *xf86WcmEventAutoDevProbe (LocalDevicePtr local);
 
201
 
 
202
/* serial write and wait command */
 
203
int xf86WcmWriteWait(int fd, const char* request);
 
204
 
 
205
/*wait for tablet data */
 
206
int xf86WcmWaitForTablet(int fd, char * data, int size);
 
207
 
199
208
/* common tablet initialization regime */
200
209
int xf86WcmInitTablet(LocalDevicePtr local, const char* id, float version);
201
210