Eriks Dobelis eriks.dobelis@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.