wintab: Incorrectly classifying cursor as stylus instead of eraser

Alexandre Julliard julliard at winehq.org
Thu Mar 20 15:11:47 CDT 2014


Eriks Dobelis <eriks.dobelis at biti.lv> writes:

> Did not attach the patch in my last email :(
>
> For Wacom Pen & Touch Intuos tablet eraser cursor is incorrectly
> detected as stylus.
> The tablet returns its eraser cursor name as:
> Wacom Intuos PT S Pen eraser
> and type as:
> ERASER
>
> Current code classifies this as STYLUS, because name of the cursor
> contains the word 'Pen'. It is very unlikely that a cursor with type
> ERASER is STYLUS.

There is already a check for eraser type, you should be able to use that
instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list