Skip to main content

Tablet Tilt Joystick

A program that lets you use your tablet's tilting to emulate an actual joystick on a computer. Currently this only works on Linux systems as it uses uinput behind the scenes. It might work on Macs, I haven't got a Mac so I can't test.

It's called tablet tilt joystick but it will work with any handheld device with a reasonably modern web browser and an orientation sensor.

Runs a light web server which you can connect to in a browser on your tablet.

Basic usage

Install with pip (pip3 install tablet-tilt-joystick) then run with python3 -m tablet_tilt_joystick or just tablet_tilt_joystick and connect to <your ip>:4242 on a mobile device to get started. If a suitable image display program is found, it will also show a QR code that you can scan with a mobile device to get to the IP quickly. The joystick will show up in your system as something like python-uinput.

Advanced usage

For advanced usage instructions, run python3 -m tablet_tilt_joystick -h.

Troubleshooting

If your tablet fails to find the server, make sure this program isn't blocked by a firewall. Also try navigating to your computers ip manually on the tablet.

Publishing to pypi:

First install the required packages: pip install build twine.

Then run python -m build from this directory. If there were no errors then run python3 -m twine upload dist/*.

Changelog:

1.2.0

  • Command line options to use custom hosting port and suppress displaying QR code

1.1.1

  • Fix missing dependencies

1.1.0

  • First version published to pypi
  • Opens QR code

1.0.0 (not published on pypi)

  • Basic functionality of

Metadata

Release files for tablet-tilt-joystick 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tablet-tilt-joystick 1.2.1
File Size Uploaded
tablet-tilt-joystick-1.2.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tablet-tilt-joystick 1.2.1
File Interpreter ABI Platform
tablet_tilt_joystick-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / tablet-tilt-joystick-1.2.1.tar.gz

Download URL tablet-tilt-joystick-1.2.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
baa43f68a16502f9ba2e9c7b57df22f8bb2c832b435b4a483b3c8625d68cc448
BLAKE2b-256 checksum
How to use checksums
bc6d120496a7e8f82c24dc6f5997b4813bfc17eda7f11a068bcae0a0ba6b5da2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / tablet_tilt_joystick-1.2.1-py3-none-any.whl

Download URL tablet_tilt_joystick-1.2.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1162310eaf38fc1848a50998c8493a007142ae21e0eaecd197c5045094c6c185
BLAKE2b-256 checksum
How to use checksums
7224d7e039b52253264144240edc83063cf2e43e48c5c821abfaa8fff7d77a75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page