From what I've researched it seems I can get the mouse position using GetCursorPos();
and differentiate if the input is from the mouse using GetMessageExtraInfo();
.
The problem is that I wish to be able to move the cursor regardless of the pen's position. The goal is for my program to be able to read the pen's position while my OS (Windows 10) ignores its input. This way I can move the cursor independently of my pen's position.
Essentially I wish to use the pen's position (as reference) to move the cursor on specified areas of the screen.
The Tablet PC in which I desire to implement this is a Thinkpad X220t.