@drog1998 I use an Arduino Leonardo (Atmega32 chip) to connect an Amiga keyboard to my Raspberry PI. It works very well, no bug at all. I never have to unplug and replug for instance. I use it with every emulator of computers.
I use a self-powered hub to connect it to my Raspberry Pi 4 (actually, every USB thing is connected to this self-powered USB hub in my configuration).