vvp wrote: There are at least 5 free endpoints on one usb port of ATmega32u4. So it can serve as at least 5 HID devices to the OS. Old joystick were either discrete or analog devices so you can use GPIO pins to scan an old joystick. Connecting an USB joystick would require the controller to be able to serve as USB master too. In such a case you need a different controller or you need to put an USB hub inside and connect both joystick and ATmega32u4 to the hub.
You understood what I meant. Connecting an old joystick of the exact type that was used with the Commodore 64, not modern USB joysticks and gamepads.
The old digital joystick would appear as a digital USB joystick at the host.
However, USB endpoint and device are not the same thing. As I understand it, the Teensy can present itself only as a single device that would have both keyboard and joystick functionality - It can not present itself over USB as a keyboard, a separate joystick and as a second separate joystick.
Sure, you could have two DB9 connectors and use one for an Amiga mouse and the other for a joystick, but who would want to....
There could also be support for other types of vintage gamepads that are electrically compatible, or even a PC-style
Game Port, but
Atari-compatible joysticks are most in theme with the Commodore 64 and would be the easiest to support in firmware.
Which older type of game controller do you like the most?
Off-topic:
beltet wrote: An amiga guy that prefer black keys?
There are lots of guys who have painted their Amigas black and put on black keycaps from the Amiga CDTV keyboard.