Gamepad

2.4 GHz Gamepad

Gamepad uses 2 AA batteries and has a SEGA(G) E21013 170703 wireless board soldered inside; it also has a small plastic switch to switch P1 and P2 controls; in practice it simulates a keyboard and each button correspond to a specific real keyboard button:
tm6whbt.jpg
i.imgur.com_wbejeod.jpg

KEYBOARD KEY - REAL GAMEPAD BUTTON

JOYPAD 1 SWITCH
DPAD_UP - UP
DPAD_DOWN - DOWN
DPAD_LEFT - LEFT
DPAD_RIGHT - RIGH
MEDIA_REWIND - REWIND
F7 - C
MEDIA_EJECT - START
F1 - Z
F2 - Y
F3 - X
F4 - A
F6 - B
MEDIA_TOP_MENU - MENU

JOPYPAD 2 SWITCH
AGE_UP - UP
PAGE_DOWN - DOWN
END - LEFT
FORWARD - RIGHT
MEDIA_REWIND
META_LEFT (Left Media Modifier) - C
F12 - START
F8 - Z
F9 - Y
F10 - X
F11 - A
??? - B (this key is not recognized by any app tested, in particular KODI and Retroarch do not “feel” that button press)
MEDIA_TOP_MENU - MENU

For further technical information about gampad buttons layout read here.