Skip to content
/ tabd Public

Minimal tablet driver for Windows (WIP).

License

Notifications You must be signed in to change notification settings

xfnty/tabd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tabd is a replacement for OpenTabletDriver I made for fun. It uses the same Windows APIs OTD does but doesn't take half a minute to start and won't open command prompt when added to autostart.

tabd uses presets for configuration stored in a simple .json files under presets folder which is in the same directory as tabd.exe. Here's my Osu.json preset for example:

{
    "center": [80.41049, 85],
    "size": [100, 56.222546],
    "rotation": 90,
    "ink": false
}

The center, size, and rotation parameters define what part of the tablet area should be mapped to the screen and how much it should be rotated. These are the same values OTD uses so you don't have to calculate them yourself. ink either makes the driver emulate Windows Ink inputs that support pressure levels or a normal mouse cursor.

Supported Tablets

Tablet Status
Wacom CTL-672

If you want me to add another tablet, send me an email or open an issue. If you want to do it yourself, see tablets.c file.

Developing

To test the build with all compilers, run project build-msvc run build-gcc run. Run project to get more info.

Compiling using MSVC

  1. Download Build Tools for Visual Studio.
  2. Run Visual Studio Installer and select MSVC Build Tools for x64/x86 (Latest) and Windows 11 SDK in Individual components.
  3. Enable x64 Native Tools Command Prompt for VS (32-bit architecture is not supported).
  4. Run project build-msvc run.

Compiling using GCC

  1. Download and run w64devkit-x64-X.X.X.7z.exe from w64devkit. Choose Add to PATH option.
  2. Run project build-gcc run