Wacom Customer Support page: https://support.wacom.com/

Wacom Product Resources - Drivers, Manuals, Warranty Information & Others

Mac OS 10.15 Catalina Support:
https://www.wacom.com/en-de/support?guideId=015-916

Mac OS 10.15.4 Update:
What does the Mac OS warning message “Legacy System Extension” mean and why am I seeing it?

eStore Shipping
Please note that reduced UPS service might affect your region due to CoVid-19 situation. See updated details for UPS serviceshttps://www.ups.com/de/en/service-alerts.page?id=alert1

Product Registration:
Please register our products on https://www.wacom.com/register
How do I register my Wacom device?

Wacom tablet pressure input for Windows batch scripts

Intuos, Intuos Pro, Bamboo, Graphire, etc.
misol101
Posts: 2
Joined: Wed 25. Dec 2019, 12:53

Wacom tablet pressure input for Windows batch scripts

Postby misol101 » Wed 25. Dec 2019, 13:55

Hello everyone,
This might seem like an odd topic (and it is), but I come from the forum dostips.com, which is about writing Windows batch scripts (mostly).

For reasons, I coded a C language executable that could read Wacom pressure input while in the Cmd window (to be used in scripts). I have written about it here:

https://www.dostips.com/forum/viewtopic.php?f=3&t=9387

The executable was built around the code example called ”Pressure Test” at
https://developer-docs.wacom.com/display/DevDocs/Wintab+Sample+Code+Downloads?desktop=true&macroName=markdown

To make a long story short, I would like to:
(1) best case: find someone with knowledge on how to get the pressure range of the current tablet using the C API, OR
(2): atleast get feedback on the pressure range of different Wacom tablets (I think they are different, but I’m not 100% sure). The range for my Intuous S is 0-32768.

If you would be so kind to help out about (2), please download the archive at: http://www.mediafire.com/file/juzr9rwo33nnd7u/cmd_wacom_input.zip/file . Then run cmd_wacom_input.exe, and draw with the tablet *with maximum pressure* on the window that pops up, and read the value after ”LEFT”.

If your maximum value is around 32768, then you should also be able to successfully run draw_chars.bat, a small drawing script for the cmd window. (If your maximum value is not close to that, you would have to make a small change to draw_chars.bat, in the line that divides by 129, so that the maximum value divided by the given value falls below 256 (e.g if your maximum pressure value is 10000, then divide by 40 to always go below 256)). Obviously this manual tweaking is what I would like to avoid by finding out the answer to (1) above.

Thank you!

misol101
Posts: 2
Joined: Wed 25. Dec 2019, 12:53

Re: Wacom tablet pressure input for Windows batch scripts

Postby misol101 » Sat 4. Jan 2020, 19:27

Was fixed (archive above was updated), so I no longer need help with this. The output is now scaled based on pressure range and should be between 0-32767 regardless of which tablet is used.


Return to “Pen Tablets”