Skip to content

Use any touchscreen device with a web browser as an evdev touchpad/touchscreen (internal tool)

License

Notifications You must be signed in to change notification settings

InputActions/ts2mtd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts2mtd (touchscreen to multitouch device)

Important

This tool is internal and intended to be used only for the development of InputActions. Feature requests are likely to be rejected.

Control a virtual evdev touchpad/touchscreen using a touchscreen device and a web browser.

Dependencies

  • Extra CMake Modules
  • CLI11
  • Qt6: Core, HttpServer, WebSockets

Usage

Warning

This tool uses HTTP and has no authentication. It is not recommended to use it on untrusted networks (although there is not anything malicious an attacker could do besides generating touch events).

Run ts2mtd --help for help.

The tool must have access to /dev/uinput, it can be run as root.

  1. Run ts2mtd, example: ts2mtd -m touchpad -w 164 -h 76.5 --http-port 1701 --websocket-port 1702
  2. Open http://[server ip]:[port] on another device, refresh if orientation is changed or connection is lost

About

Use any touchscreen device with a web browser as an evdev touchpad/touchscreen (internal tool)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published