跳转到主要内容

图形平板和笔的按钮配置GUI工具

项目描述

测试

Travis Build Status Requirements Status CodeFactor Grade

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

其他

License GitHub top language GitHub commits since tagged version GitHub last commit Maintenance

使用xsetwacom工具配置图形平板和笔的按钮的GUI实用工具。

安装

在安装PySetWacom之前,请确保已安装以下内容

  • xsetwacom。这可能默认已安装。

  • PyGObject。有关更多信息,请参阅https://pygobject.readthedocs.io/en/latest/,有关安装说明。

    在Ubuntu上,您可能需要安装libgirepository1.0-devlibcairo2-devpython3-gi

  • wxPython(版本4.0.7或更高)。有关更多信息,请参阅https://wxpython.org/pages/downloads/,有关安装说明。

    在Ubuntu上,您可能还需要安装libsdl2-2.0.0

根据您的平板电脑型号,您可能需要安装DIGImend。有关更多信息、支持的设备列表和安装说明,请参阅https://digimend.github.io/

PySetWacom 可以从 PyPI 上安装。

使用 pip 安装

$ python -m pip install PySetWacom

简要教程

PySetWacom 可以通过终端命令运行

$ PySetWacom

或者通过从您的应用程序菜单中选择其图标。

AppIndicator

启动后,您应该会看到一个类似这样的 AppIndicator 图标出现

images/AppIndicator.png

您可以通过点击此图标来显示 编辑器 窗口、切换配置文件或退出 PySetWacom

images/AppIndicatorMenu.png

编辑器

编辑器 窗口中,您可以更改配置文件并编辑您的平板电脑上不同按钮的映射。

images/Editor.png

双击按钮将打开 编辑映射 对话框,您可以在其中输入映射或从键盘捕获映射。

images/Edit_Mapping.png

如果您想配置列表中的某些设备,或者您想添加新设备,您可以在 编辑器 窗口中点击 管理设备 按钮。

images/Manage_Devices.png

进一步阅读

https://github.com/linuxwacom/xf86-input-wacom/wiki/Tablet-Configuration-1:-xsetwacom-and-xorg.conf https://github.com/linuxwacom/xf86-input-wacom/wiki/xsetwacom https://www.x.org/releases/current/doc/man/man4/mousedrv.4.xhtml https://wiki.archlinux.org.cn/index.php/Wacom_tablet

项目详情


下载文件

下载您平台上的文件。如果您不确定选择哪个,请了解有关 安装软件包 的更多信息。

源分布

PySetWacom-0.1.8.tar.gz (33.1 kB 查看哈希值)

上传时间

构建分布

PySetWacom-0.1.8-py3-none-any.whl (37.2 kB 查看哈希值)

上传时间 Python 3

支持者

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面