How to map certain Kega Fusion functions to a gamepad?

//ads -- adsterra.com -- native banner
?>
I'm using Kega Fusion, a Sega Mega Drive/Genesis emulator, which has specific hard-coded keyboard presses for a certain functions (e.g. Backspace = Fast Forward, F5/F8 = save/load state, etc.).
Is there any way to map these keyboard presses to a gamepad?
Pictures about "How to map certain Kega Fusion functions to a gamepad?"



Como Mejorar los Graficos en KEGA Fusion (Emulador de SEGA para PC)
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Tima Miroshnichenko, Rachel Claire, Beyza Kaplan, Beyza Kaplan