Teensy 4.1 - Keyboard and Mouse HID output completely not working on Windows

pickone

Member
Hi everyone,

I have a Teensy 4.1 and I'm having trouble getting any HID output to work on Windows.

My setup:
  • Teensy 4.1 (bought from DigiKey, official distributor)
  • Arduino IDE 2.3.8
  • Teensyduino 1.6.0
  • Windows 11
  • USB Type: Keyboard + Mouse + Joystick
  • Selected from Teensy Ports (not Serial Ports)
  • Connected directly to PC (no hub)
The problem: Even the official example File → Examples → Teensy → USB_Keyboard → Simple does nothing. No text is typed anywhere.
Same with Mouse.move() — cursor never moves.
The Teensy appears correctly in Device Manager:
  • 1 extra HID keyboard device
  • 2 extra HID mouse devices
But absolutely no HID output reaches the PC.

What I already tried:
  • Official USB_Keyboard Simple example
  • Simple Keyboard.println with delay(5000)
  • Simple Mouse.move in a loop
  • Full flash restore (held button 15 seconds)
  • Different USB cables
  • Disabled antivirus
  • Connected directly to PC without any USB hub
  • Selected correct Teensy Port in IDE

What DOES work:
  • USB Host reading works perfectly (I can read mouse data in Serial Monitor)
  • Serial Monitor works fine

Any ideas what could be causing this?

Thank you!
 
Usually the first troubleshooting step with Windows is to run Device Manager and see what it shows.

If the result is unclear, please remember we can't see your screen. A screenshot often helps more than just describing the info.
 
When teensy is not connected, I only see 8 HID keyboard devices and 6 HID-compliant mouse devices. After I insert teensy to USB, I see 9 keyboard and 8 mouse. But wait a sec... Yesterday I wrote this post, I removed teensy, now, after I turned on my computer, iserting teensy to see how many devices I have in device manager, I saw that teensy it is working... Strage...
 
Back
Top