Tablet Tilt Joystick
A program that lets you use your tablet's tilting to emulate an actual joystick on a Linux computer.
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.
Run with python3 -m tablet_tilt_joystick
and connect to
on a mobile device to get started. (Make sure it's not blocked by a firewall) The joystick will show up in your system as python-uinput (/dev/input/js0)
.