Hey guys,
I have a Wacom Intuos M graphics tablet and wanted to combine its pen input with Unity’s new input system. However, the input system doesn’t seem to recognize my pen. When I’m moving the stylus on the tablet, the mouse cursor on the screen follows along, but in my code Pen.current is always null, no matter what I try so far. Is there any option to make my stylus recognizable as a pen?
1 Like
Unfortunately, our pen support on Windows still needs a good deal of improvement.
Do you happen to have Windows Ink support disabled in the Wacom settings? If so, pen input will not show up in Unity as ATM we’re only supporting the “ink” API and have no support for WinTab. Similar to Photoshop, though there you can at least hack the .ini file to get WinTab support.
That one surprises me, though. Even with ink disabled, the code should still register the presence of the tablet, even though not actually receiving any input from it.
Could you file a ticket with the Unity bug reporter?
I figured it out now - the pen will only be recognized if the graphics tablet is plugged in before starting Unity. And Windows Ink support did help, thanks for that!
But now I have a similar problem with finger touch on the tablet. Even with a detected tablet and pen, finger touches do not trigger Touchscreen.current.primaryTouch.press, but pen touches do. Am I doing something wrong there?