forked from bartvdbraak/blender
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:
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user