Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Wacom pen not recognized

Discussion in 'Input System' started by TomTom268, Dec 8, 2019.

  1. TomTom268

    TomTom268

    Joined:
    Jul 31, 2018
    Posts:
    4
    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?
     
    Lars-Steenhoff likes this.
  2. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    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?
     
  3. TomTom268

    TomTom268

    Joined:
    Jul 31, 2018
    Posts:
    4
    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?