[wintab32 3/7] Add constants for cursor types and use them.
Alexandre Julliard
julliard at winehq.org
Mon Dec 24 14:05:55 CST 2007
Jeremy White <jwhite at 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 at winehq.org
More information about the wine-devel
mailing list