Add new cursor types to data handling to account for Intuos 4 device (pen and eraser).

Thanks to Ayden Polat for helping to find out the cursor type codes.
This commit is contained in:
Nathan Letwory 2013-09-04 12:10:02 +00:00
parent 38075c7b3c
commit d5fba56b38

@ -1135,10 +1135,12 @@ void GHOST_WindowWin32::processWin32TabletEvent(WPARAM wParam, LPARAM lParam)
break;
case 1:
case 4:
case 7:
m_tabletData->Active = GHOST_kTabletModeStylus; /* stylus */
break;
case 2:
case 5:
case 8:
m_tabletData->Active = GHOST_kTabletModeEraser; /* eraser */
break;
}