Re: [wintab32 3/7] Add constants for cursor types and use them.
Jeremy White <jwhite(a)winehq.org> writes:
--- a/include/wintab.h +++ b/include/wintab.h @@ -525,6 +525,23 @@ typedef struct tagROTATION { /* 1.1 */ #endif
/*********************************************************************** + * WACOM WINTAB EXTENSIONS TO SUPPORT CSR_TYPE + * In Wintab 1.2, a CSR_TYPE feature was added. This adds the + * ability to return a type of cursor on a tablet. + * Unfortunately, we cannot get the cursor type directly from X, + * and it is not specified directly anywhere. So we virtualize + * the type here. (This is unfortunate, the kernel module has + * the exact type, but we have no way of getting that module to + * pass us that type). + */ + +#define CSR_TYPE_PEN 0x822 +#define CSR_TYPE_ERASER 0x82a +#define CSR_TYPE_MOUSE_2D 0x007 +#define CSR_TYPE_MOUSE_4D 0x094
This doesn't seem to belong in wintab.h. -- Alexandre Julliard julliard(a)winehq.org
participants (1)
-
Alexandre Julliard