Cyzor/tablet-driver 是一个托管在 GitHub 上的开源项目,主要使用 Swift 编写,采用 GNU General Public License v3.0 许可证,目前获得 38 个 Star、8 次 Fork。
仓库全名
Cyzor/tablet-driver
README 摘要
MockTab Mac driver for Wacom drawing tablets that no longer have official support. One self-contained app. Responsive pen input is its top priority. MockTab is a community project, not affiliated with Wacom Co., Ltd. or Xencelabs. Product names describe compatibility only. Supported hardware MockTab supports these families: Family | Connection | :---:|:---|:---| Intuos 1–5 / Intuos Pro Gen 1 PTH-x50/x51, PTZ, PTK…
Other tablets may not work yet. For support, file an issue with the data from Help › Collect Device Data…
Requirements
macOS 13 Ventura or later.
Install
Download the latest .dmg from Releases. Snapshots are newer but may be incomplete.
Drag MockTab.app to Applications and launch it.
Grant Accessibility if asked.
Grant Input Monitoring if asked.
Plug in or pair your tablet.
If a permission has no effect, remove MockTab from the list and add it again. Moving or reinstalling the app can undo earlier permissions.
Screenshots
Tablet area
Pen feel
Button mapping
Display mapping
Touch
Scratchpad
Features
Map the tablet to any part of any display.
Tune pressure and pen feel.
Assign pen buttons, ExpressKeys, touch rings, and dials.
Give each app its own settings.
Connect over USB, Bluetooth, or a USB dongle.
Touch to scroll, zoom, rotate, and click, when available.
Test input in a live scratchpad.
Import and export profiles.
Hide the Dock icon and run from the menu bar.
Connect tablets across different generations at the same time.
Low-latency pen performance.
One self-contained, signed, and notarized app, with no background services or launchers.
Incomplete/Not planned
Huion, XP-Pen, and other makers besides Xencelabs.
Recent Wacom models. Without further testing, support is experimental.
Windows, Linux, and iPad.
Build from source
git clone --recurse-submodules https://github.com/Cyzor/tablet-driver.git
cd tablet-driver
open MockTab.xcodeproj
You need Xcode 26 or later. Select the MockTab scheme and build. To build a fork, set signing to your own team under Signing & Capabilities.
If you cloned without --recurse-submodules, run git submodule update --init. To run the TabletKit tests, run swift test in TabletKit/.
TabletKit
TabletKit is the Swift package that turns a tablet’s raw reports into pen position, pressure, tilt, rotation, and touch. It has no AppKit dependencies, so it works in any Swift project. See its README to add it to yours.
It lives here as a git submodule at TabletKit/.
License
The app is GPL-3.0-or-later (LICENSE). You can run, study, change, and share it. Changed versions must keep the same license.
TabletKit is MPL-2.0 (LICENSES/MPL-2.0.txt). Changes to its own files must stay open, but any project can use it, whatever its license.
Each file names its license in an SPDX-License-Identifier: header.
Acknowledgments
MockTab builds on several open-source projects. OpenTabletDriver supplies all of TabletKit’s non-Wacom tablet entries and some Wacom ones. wacom-hid-descriptors guided decoders for many tablet families, and libwacom supplies Wacom tablet sizes and the control layouts behind each tablet’s drawing. Much of the report format knowledge traces back to input-wacom and the Linux kernel.
Contributing
Options to help include filing bug reports, providing hardware details, improving localization, and revising decoders. See Contributing.md. Decoder pull requests go to TabletKit.
Wacom’s official driver may still work with some coaxing. If the tablet light is on but Wacom Center shows “No device connected,” or Wacom’s installer says “Supported tablet not found,” Wacom has likely retired your model. Troubleshooting covers symptoms, affected tablets, and steps to try, plus problems after installing MockTab.
评论