garymuhonen
New member
I'm using a ultimarc.com miniPAC arcade game controller (link) that acts like a USB keyboard to send keystrokes to a computer (when the connected switches are activated).
If I hook the miniPAC up to my MAC computer, it indeed acts like a keyboard, and keys that it sends to the MAC are displayed in a text editor as ascii characters.
I'm using a Teensy 4.1 with the CABLE_USB_HOST_T36 plugged into the 5 pins on top of the teensy.
I'm using the example program provided with the USBHOST_t36 libary: USBHost_t36/Serial/Mouse.ino which provides support for USB mice and keyboards.
If I hook up a USB apple keyboard to the Teensy, the program displays the keys that I press on the keyboard, just as one would expect.
If I hook up the ultimarc controller to the Teensy, the program sends the following to the serial monitor upon startup:
But any buttons that I push (connected to the ultimarc) do not seem to be detected by the example program (nothing is displayed on the serial monitor).
Any ideas of some things I can try to detect these keys?
Thanks!
If I hook the miniPAC up to my MAC computer, it indeed acts like a keyboard, and keys that it sends to the MAC are displayed in a text editor as ascii characters.
I'm using a Teensy 4.1 with the CABLE_USB_HOST_T36 plugged into the 5 pins on top of the teensy.
I'm using the example program provided with the USBHOST_t36 libary: USBHost_t36/Serial/Mouse.ino which provides support for USB mice and keyboards.
If I hook up a USB apple keyboard to the Teensy, the program displays the keys that I press on the keyboard, just as one would expect.
If I hook up the ultimarc controller to the Teensy, the program sends the following to the serial monitor upon startup:
Code:
USB Host Testing
960
*** Device KB1 d209:440 - connected ***
manufacturer: Ultimarc
product: Mini-PAC
Serial: 4
*** Device HID1 d209:440 - connected ***
manufacturer: Ultimarc
product: Mini-PAC
Serial: 4
*** Device HID2 d209:440 - connected ***
manufacturer: Ultimarc
product: Mini-PAC
Serial: 4
*** HID Device Mouse1 d209:440 - connected ***
manufacturer: Ultimarc
product: Mini-PAC
Serial: 4
But any buttons that I push (connected to the ultimarc) do not seem to be detected by the example program (nothing is displayed on the serial monitor).
Any ideas of some things I can try to detect these keys?
Thanks!