I converted a pro micro sketch to the teensy, and I have it working except for one thing.
The teensy also shows up also as /dev/input/js0 as a "Joystick (Teensyduino Keyboard) has 37 axes "
I'm using the arduino ide 1.8.8 with the latest Teensyduino software (Installed on monday).
Source for the project is here.
https://github.com/dabonetn/C64USBKey/blob/master/C64Key3-TeensyLC/C64Key3-TeensyLC.ino
Under tools I'm selecting...
Board: "Teensy LC"
USB Type: "Keyboard"
CPU Speed: "24 Mhz"
Optimize: "Fast"
Keyboard Layout: "US English"
Any reason it's still presenting a joystick? I want keyboard only, no mouse, no joysticks. (It's a Raspberry running retropie, so I've got other joysticks attached and it screws up the order)
Here's what's appearing in syslog.
Thanks.
Later,
dabone
The teensy also shows up also as /dev/input/js0 as a "Joystick (Teensyduino Keyboard) has 37 axes "
I'm using the arduino ide 1.8.8 with the latest Teensyduino software (Installed on monday).
Source for the project is here.
https://github.com/dabonetn/C64USBKey/blob/master/C64Key3-TeensyLC/C64Key3-TeensyLC.ino
Under tools I'm selecting...
Board: "Teensy LC"
USB Type: "Keyboard"
CPU Speed: "24 Mhz"
Optimize: "Fast"
Keyboard Layout: "US English"
Any reason it's still presenting a joystick? I want keyboard only, no mouse, no joysticks. (It's a Raspberry running retropie, so I've got other joysticks attached and it screws up the order)
Here's what's appearing in syslog.
Code:
Feb 22 17:19:52 retropie kernel: [ 33.121595] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
Feb 22 17:19:52 retropie kernel: [ 33.254457] usb 1-1.2: New USB device found, idVendor=16c0, idProduct=04d0
Feb 22 17:19:52 retropie kernel: [ 33.254476] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 22 17:19:52 retropie kernel: [ 33.254481] usb 1-1.2: Product: Keyboard
Feb 22 17:19:52 retropie kernel: [ 33.254485] usb 1-1.2: Manufacturer: Teensyduino
Feb 22 17:19:52 retropie kernel: [ 33.254489] usb 1-1.2: SerialNumber: 4948230
Feb 22 17:19:52 retropie kernel: [ 33.260987] input: Teensyduino Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16C0:04D0.0001/input/input0
Feb 22 17:19:52 retropie kernel: [ 33.324124] hid-generic 0003:16C0:04D0.0001: input,hidraw0: USB HID v1.11 Keyboard [Teensyduino Keyboard] on usb-3f980000.usb-1.2/input0
Feb 22 17:19:52 retropie kernel: [ 33.327642] hid-generic 0003:16C0:04D0.0002: hidraw1: USB HID v1.11 Device [Teensyduino Keyboard] on usb-3f980000.usb-1.2/input1
Feb 22 17:19:52 retropie kernel: [ 33.330751] input: Teensyduino Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.2/0003:16C0:04D0.0003/input/input1
Feb 22 17:19:53 retropie kernel: [ 33.392070] hid-generic 0003:16C0:04D0.0003: input,hidraw2: USB HID v1.11 Device [Teensyduino Keyboard] on usb-3f980000.usb-1.2/input2
Thanks.
Later,
dabone
Last edited: