Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5725

HATs and other add-ons • Re: Power & data over USB ports?

$
0
0
Why would you replace a software driver on a PC with external translator code in firmware?

Why not replace the driver?

However, assuming there's a legitimate reason you can't actually do this, what you are saying is you want a doodad that acts as a USB host, into which you plug the ShuttlePRO v2. This doodad listens to input device events from the ShuttlePRO. Then, the doodad plugs into a PC USB port, and appears as a USB device, maybe a serial port, keyboard, some HID device, whatever. The doodad converts the events from the ShuttlePRO into something else, which is sent to the PC. You think the doodad can be embodied in a Pi Zero.

Is that right?

If so, that sounds like the hard way. I assert that the ShuttlePRO is just a collection of switches in a nice box. You could perhaps use QMK or the equivalent to just make it look like a USB keyboard and send keyboard events when the buttons are pressed.
I would need to write code and installers for three different operating systems and users would need to install those. The Contour driver already does key assignments, but that is not adequate for jog. Jog on the original controllers is a logic pulse train, not ASCII.
Key assignment tables are built into the NLE software. The original controller is plug and play with no need to install drivers on a computer.
Does this help?
https://github.com/hopejr/ShuttleControlUSB

Or this?
https://gitlab.com/Robotista/shuttle-lander

Statistics: Posted by ame — Sat May 18, 2024 8:45 pm



Viewing all articles
Browse latest Browse all 5725

Trending Articles