I have trouble understanding the Input System Manager when it comes to the functionality of tablet devices. Let’s say, I have a Wacom tablet with a pen I want to track on a plane that’s the metrics as the tablet interface 16:9. How does one track the pen position and add the pen in the first place?
The documentation seems outdated in their examples of code because they’re using using UnityEngine.Experimental.Input;
instead of using UnityEngine.InputSystem;
which was the first mistake I made while learning from the documentation.
How can I use the pen when the only thing I got right is var MyWacomPen = InputSystem.AddDevice<Pen>();
and how do I go from there?
Nevermind, I have found all I needed in the ButtonControl.cs file in the packages folder for InputSystem. This thread counts as closed.