4 ms·
The annoying/challenging part is that you need to drive the 2nd machine using relative motions, but place the cursor accurately and keep track of it. If the 2nd
by avidiax 5y ago
The annoying/challenging part is that you need to drive the 2nd machine using relative motions, but place the cursor accurately and keep track of it. If the 2nd OS skips frames or has acceleration, you are pretty quickly implementing a Kalman filter.
- robocat 5y agoI recall some touchscreens use USB internally for the touch interface. A touchscreen has absolute coordinates, which does the trick, compared with the usual mouse/trackpad interfaces. I remember remote controlling an OS that needed me to install absolute touchscreen drivers to work best (probably a VM, but maybe Synergy drivers??)
- zanecodes 5y agoAccording to the Particle Photon docs [1] it's actually capable of moving the mouse to absolute coordinates, but I haven't tried that yet. [1] https://docs.particle.io/reference/device-os/firmware/#moveto- https://docs.particle.io/reference/device-os/firmware/#movet...
- loxias 5y agoIt's been a while since I was deep in the guts of implementing USB HID devices, but I think you can specify in the descriptor if you're sending relative or absolute values. There's a rewarding UX that can be made by switching the touchscreen to relative instead of absolute, you get more fine grained control.
- yencabulator 5y agoJust about every virtual machine runner works around this by emulating a USB tablet (touchpad) and not a USB mouse. Should be simple to do same via USB gadget driver. https://qemu-stsquad.readthedocs.io/en/doc-updates/system/usb.html https://qemu-stsquad.readthedocs.io/en/doc-updates/system/us...