Raspberry Pi as USB HID Touchscreen

Job ID: 39585445

Budget: $30 – $250 USD

I need a Raspberry Pi 4B configured as a USB HID device. It should mimic a specific touchscreen brand (I will provide the exact model). Receive and execute touch coordinates (x,y) and click events from a remote system.

Key Requirements:
- Running Raspbian OS
- USB connection
- Mimic specific touchscreen brand/model

Ideal Skills and Experience:
- Experience with Raspberry Pi and Raspbian
- Strong understanding of USB HID configuration
- Familiarity with touch input processing and coordination transmission

Looking for a precise and efficient setup.

Now I will write my own description as I see it:

I will provide you with Raspberry Pi 4B with USB Touch Screen controller attached (I will give you Zerotier network to connect to it) , so you can take the VID and anything you need. It has to be an exact match as it's checked against whitelist.
When the Raspberry Pi emulates the HID device, I need to send coordinates x,y to it and simulate a click on set coordinates. I prefer bash script if possible, but I'm comfortable with any language.

From various sources online, I assume setting custom VID should not be an issue:
echo 0x1d6b > idVendor # Linux Foundation
echo 0x0104 > idProduct # Multifunction Composite Gadget
echo 0x0100 > bcdDevice # v1.0.0
echo 0x0200 > bcdUSB # USB2

But all the remaining bits a new to me and I'd rather skip a day of reading :-)
For the part of receiving coordinates and sending them via the usb - there are plenty of scripts online, anyone will do as long as I can test it.