Skip to content

Emulate a touchpad, using a smartphone browser and USB/IP protocal.

License

Notifications You must be signed in to change notification settings

CcydtN/Touchpad-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Touchpad Emulator

Goal

This is a repo for me learning about USB HID protocol, especially report descriptor for a touchpad. (There is no such resource from the internet, so I have to do it my own)

Usage

If you want to know more about the command that is used, please look at justfile for more detail

Tested on Linux machine only, not sure for others.

To try using it, open two terminal, and prepare a smart phone.

# First terminal
just dev_touchpad

# Second terminal
just attach

Then, open browser on smartphone. (The browser need to support Touch event)

Go to http://YOUR_COMPUTER_IP_ADDRESS:3000

You should see a ugly webpage. The canvas in the middle can be use as a touchpad.

screenshot

About

Emulate a touchpad, using a smartphone browser and USB/IP protocal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published