A downloadable project for Windows

Download NowName your own price

===============================================================

  Pixelorama — graphic tablet input patch (Windows)

===============================================================

Problem

-------

On Windows with the winink driver, you may see:

  • pen pressure works, but the cursor does not follow the pen (only the mouse moves);

  • with wintab, the cursor follows the pen, but pressure becomes binary (0% / 100%).

This patch adds a "Tablet (pen)" input mode with separate handling of pen

coordinates and pressure (workaround for Godot / Windows Ink limitations).

Tested: XP-PEN CT430, Godot 4.6.x, Windows 10/11.

Requirements

------------

  • Pixelorama source code (from GitHub — not the Steam build without sources)

  • Godot 4.6 (or a nearby 4.x version matching project.godot)

  • Windows + a tablet with Windows Ink enabled in the driver

Installation

------------

1. Download and extract the Pixelorama source if you have not already:

   https://github.com/Orama-Interactive/Pixelorama

2. Extract this archive.

3. Copy the src folder from this archive on top of the src folder in your

   Pixelorama directory, replacing existing files.

   (Windows will ask to confirm replacement — accept for all files.)

4. Open the project in Godot (Import → project.godot, or double-click it).

5. Run the project (F5) or export an executable via Project → Export.

Setup in Pixelorama

-------------------

1. Edit → Preferences → Drivers section.

2. Pointer input → select "Tablet (pen)".

3. Tablet driver can stay on winink — in tablet mode, winink is applied

   automatically.

4. Close Preferences and draw on the canvas with your pen.

5. When using a regular mouse, switch Pointer input back to "Mouse".

Important notes

---------------

  • "Tablet (pen)" mode is Windows-only.

  • In this mode, a physical mouse over the canvas does not move the cursor —

    this is intentional so the pen does not conflict with mouse input.

  • The Steam build cannot be patched this way without source code — you need

    to run from Godot or export your own build.

Patched files

-------------

  src/Autoload/TabletInput.gd          (new)

  src/Autoload/TabletInput.gd.uid      (new)

  src/Autoload/Global.gd

  src/Autoload/Tools.gd

  src/Main.gd

  src/Preferences/PreferencesDialog.gd

  src/UI/ViewportContainer.gd

  src/UI/Canvas/Canvas.gd

  src/UI/Canvas/MouseGuide.gd

  src/UI/GlobalToolOptions/DynamicsPanel.gd

Revert

------

Back up your src folder before installing, or re-download clean sources from

GitHub to undo the patch.

Feedback

--------

If this patch helped you, consider reporting it to the Pixelorama developers

(GitHub issue or Discord) so the feature can be included officially.

Related engine issue: https://github.com/godotengine/godot/issues/112970

===============================================================

Published 17 hours ago
StatusPrototype
CategoryOther
PlatformsWindows
AuthorASTERSAN
Tagspatch, pixelorama
AI DisclosureAI Assisted, Code

Download

Download NowName your own price

Click download now to get access to the following files:

pixelorama-tablet-pen-patch.zip 50 kB

Leave a comment

Log in with itch.io to leave a comment.