Hi,
I’m using a Teensy 4.1 with PlatformIO (USB_SERIAL_HID).
Right now it works with USB_SERIAL_HID, but I need to add manual delay() between move/click/release for the tap to be detected reliably → which adds latency.
My question:
Thanks!
I’m using a Teensy 4.1 with PlatformIO (USB_SERIAL_HID).
- On the USB host port, I connect a wired keyboard and mouse (USBHost_t36).
- On the USB device port, the Teensy is connected to an iPad.
- Goal: when I press certain keys on the host keyboard, the Teensy should send a tap at fixed coordinates to the iPad, while the host mouse still works normally as a mouse.
Right now it works with USB_SERIAL_HID, but I need to add manual delay() between move/click/release for the tap to be detected reliably → which adds latency.
- Is USB_SERIAL_HID the correct USB mode for this?
- Or should I switch to USB_HID_TOUCHSCREEN mode?
- I have tried with USB_HID_TOUCHSCREEN it seems that the teensy 4.1 have trouble to recognize myu keyboard and mouse with this little hub
Thanks!
Last edited: