Metadata-Version: 2.1
Name: PySetWacom
Version: 0.1.8
Summary: A GUI utility for configuring buttons on graphics tablets and styli
Home-page: https://github.com/domdfcoding/PySetWacom
Author: Dominic Davis-Foster
Author-email: dominic@davis-foster.co.uk
License: GNU Lesser General Public License v3 or later (LGPLv3+)
Project-URL: Documentation, https://PySetWacom.readthedocs.io
Project-URL: Issue Tracker, https://github.com/domdfcoding/PySetWacom/issues
Project-URL: Source Code, https://github.com/domdfcoding/PySetWacom
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Utilities
Classifier: Topic :: Artistic Software
Classifier: Topic :: Multimedia :: Graphics
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Requires-Python: >=3.6
Requires-Dist: domdf-python-tools (>=0.1.17)
Requires-Dist: appdirs (>=1.4.3)
Requires-Dist: sh (>=1.12.14)
Requires-Dist: Pypubsub (>=4.0.3)
Requires-Dist: pid (>=2.2.5)
Requires-Dist: domdf-wxpython-tools (>=0.2.0)
Requires-Dist: PyGObject
Provides-Extra: all

======================
PySetWacom
======================

.. start shields 

.. list-table::
	:stub-columns: 1
	:widths: 10 90

	* - Tests
	  - |travis| |requires| |codefactor|
	* - PyPI
	  - |pypi-version| |supported-versions| |supported-implementations| |wheel|
	* - Other
	  - |license| |language| |commits-since| |commits-latest| |maintained| 



.. |travis| image:: https://img.shields.io/travis/com/domdfcoding/PySetWacom/master?logo=travis
	:target: https://travis-ci.com/domdfcoding/PySetWacom
	:alt: Travis Build Status

.. |requires| image:: https://requires.io/github/domdfcoding/PySetWacom/requirements.svg?branch=master
	:target: https://requires.io/github/domdfcoding/PySetWacom/requirements/?branch=master
	:alt: Requirements Status

.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/PySetWacom?logo=codefactor
	:target: https://www.codefactor.io/repository/github/domdfcoding/PySetWacom
	:alt: CodeFactor Grade

.. |pypi-version| image:: https://img.shields.io/pypi/v/PySetWacom
	:target: https://pypi.org/project/PySetWacom/
	:alt: PyPI - Package Version

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/PySetWacom
	:target: https://pypi.org/project/PySetWacom/
	:alt: PyPI - Supported Python Versions

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/PySetWacom
	:target: https://pypi.org/project/PySetWacom/
	:alt: PyPI - Supported Implementations

.. |wheel| image:: https://img.shields.io/pypi/wheel/PySetWacom
	:target: https://pypi.org/project/PySetWacom/
	:alt: PyPI - Wheel

.. |license| image:: https://img.shields.io/github/license/domdfcoding/PySetWacom
	:alt: License
	:target: https://github.com/domdfcoding/PySetWacom/blob/master/LICENSE

.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/PySetWacom
	:alt: GitHub top language

.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/PySetWacom/v0.1.8
	:target: https://github.com/domdfcoding/PySetWacom/pulse
	:alt: GitHub commits since tagged version

.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/PySetWacom
	:target: https://github.com/domdfcoding/PySetWacom/commit/master
	:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2020
	:alt: Maintenance

.. end shields

A GUI utility for configuring buttons on graphics tablets and styli, using the xsetwacom utility.

Installation
----------------

Before installing ``PySetWacom`` ensure you have installed the following:

* ``xsetwacom``. This may be installed by default.
* ``PyGObject``. See https://pygobject.readthedocs.io/en/latest/ for more information and installation instructions.

	On Ubuntu you may need to install ``libgirepository1.0-dev``, ``libcairo2-dev`` and ``python3-gi``.

* ``wxPython`` (version 4.0.7 or greater). See https://wxpython.org/pages/downloads/ for more information and installation instructions.

	On Ubuntu you may also need to install ``libsdl2-2.0.0``.

Depending on your tablet model you may need to install DIGImend_. See https://digimend.github.io/ for further information, a list of supported devices, and installation instructions.

.. _DIGImend: https://digimend.github.io/


.. start installation

``PySetWacom`` can be installed from PyPI.

To install with ``pip``:

.. code-block:: bash

	$ python -m pip install PySetWacom

.. end installation


Brief Tutorial
================

`PySetWacom` can be run from the terminal with the command

.. code-block:: bash

	$ PySetWacom

or by selecting its icon from your application menu.

AppIndicator
---------------

Once started, you should see an AppIndicator icon appear that looks like this:

.. image:: images/AppIndicator.png

You can click this icon to show the `Editor` window, switch profiles, or quit `PySetWacom`.

.. image:: images/AppIndicatorMenu.png

Editor
-------

In the `Editor` window, you can change profiles and edit the mappings for the different buttons on your tablet.

.. image:: images/Editor.png
	:width: 400

Double clicking on a button opens the `Edit Mapping` dialog, where you can type in the mapping or capture it from your keyboard.


.. image:: images/Edit_Mapping.png
	:width: 400

If there are devices in the list that you don't want to configure, or if there is a new device you want to add, you can click the `Manage Devices` button in the `Editor` window.

.. image:: images/Manage_Devices.png
	:width: 400


Further Reading
================

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/index.php/Wacom_tablet




