Wacom平板电脑Python

2024-06-17 08:51:44 发布

您现在位置:Python中文网/ 问答频道 /正文

如果可能的话,我想用Python捕捉Wacom平板电脑的压力敏感输入。有没有可用的Python库可以做到这一点?在


Tags: 电脑压力平板wacom
3条回答

对于Mac OS X:

https://bitbucket.org/AnomalousUnderdog/pythonmactabletlib

A small Python library to allow Python scripts to access pen tablet input data in Mac OS X.

The library exists as plain C code compiled as a dynamic library/shared object. It interfaces with the Mac OS X's API to get data on pen tablet input.

Then, Python scripts can use ctypes to get the data.

如果你对它有任何问题,请给我留言。在

您也许可以看看software描述的here。它是一个用Python编写的gnome applet。在

从网站:

“gnome wacom applet是一个小的gnome面板applet,它显示当前设备对wacom平板电脑施加了多大的压力。单击面板图标会弹出一个对话框,允许您选择其他设备并检查从该设备接收到的压力和倾斜信息。此对话框还包含一个小的绘图测试区域,可以让您的笔快速测试。“

Google is your friend

相关问题 更多 >