Skip to content

Latest commit

 

History

History

Wintab Pressure Test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Readme

Introduction

This is a C++ application that uses the Wintab API to receive position and pressure data from one attached Wacom tablet. The application visualizes the changes in position and pressure.

This demo shows how an application can use Wintab to:

  • Connect to Wintab-enabled Wacom tablets.
  • Open an application-private Wintab context and set up handlers for basic events.
  • Receive message notification when data is available, as well as notification of other tablet events (such as when a pen comes into proximity, etc.).

To test the application, a Wacom tablet driver must be installed and a supported Wacom tablet must be attached. All Wacom tablets supported by the Wacom driver are supported by this API. Get the driver that supports your device at: https://www.wacom.com/support/product-support/drivers.

Application Details

The application uses an installed driver module, Wintab32.dll, to communicate with the tablet driver. If the driver is not installed, is not communicating, or there is no supported Wacom tablet attached or in the preferences, then the program will display an appropriate warning.

The following illustrates a simplified overview of the major Wintab-supporting components:

You can view the sample code's inline comments for detailed information about the sample code itself.

See Also

Wintab - Basics - How to configure and write Wintab applications

Wintab - Reference - Complete API details

Wintab - FAQs - Wintab programming tips

Where To Get Help

If you have questions about this demo or the Wintab API, please visit our support page: https://developer.wacom.com/developer-dashboard/support.

License

This sample code is licensed under the MIT License: https://choosealicense.com/licenses/mit/.