Leonardo HID Keyboard not recognized by emulators

I have finally started to work on my DIY arcade! I programmed the joystick and the push buttons as a HID keyboard with my arduino Leonardo. The buttons works perfectly as a regular keyboard, both on my Mac & PC. However, it won't work at all inside any of my emulators!

I have mapped the push buttons to regular keyboard buttons.
Do I have to program the buttons as HEX, binary or something other fancy for it to work, or is it something else? I have installed the arduino drivers too!!

However, it won't work at all inside any of my emulators!

You need to explain what this means.

I have mapped the push buttons to regular keyboard buttons.

And this. What push buttons? How are they "mapped"?

Do I have to program the buttons as HEX, binary or something other fancy for it to work, or is it something else?

I think that it is probably safe to say that the answer is yes.

I need my arduino leonardo to appear as a keyboard, not a arduino. Emulators for Nintendo, Super Nintendo, Mame or Sega Genesis must use a regular keyboard.

As for now, when I move the joystick, it is mapped to up key, down, left & right, and the push buttons (the red and blue buttons you push to perform moves) is mapped to a,z,s,x,d and c. The buttons I have mapped,works inside Win XP (the PC I'm going to use as a arcade machine), in text editors & things like that, but not inside any of my emulators.

Does that make anything clearer? :slight_smile:

Does that make anything clearer?

Not really because the Arduino should appear as a keyboard if you programmed it correctly. Please post your sketch, maybe you made something wrong in there. And please provide at least one link to such an "emulator" you're using, to give us an idea of what you're trying with.

Does the Windows Device Manager show your Arduino 'keyboard' as present? Any warnings or errors associated with it?