What are the keyboard controls for the Sega Genesis?

So I was trying to play sonic 2 on RetroArch but, I can’t find the controls for it since I don’t have the Sega Genesis controller so what are the controls for it for keyboard

The default keyboard-to-retropad mapping is: https://docs.libretro.com/guides/retroarch-keyboard-controls/

I read it but, there was no controls for the C button and some otherbuttons.

RetroArch uses the same gamepad abstraction for all cores, called the “retropad”: https://docs.libretro.com/specs/retropad/

and each core gets mapped to the retropad, typically based on physical locations. You can see Genesis Plus GX’s mapping here: https://docs.libretro.com/library/genesis_plus_gx/#joypad

You can use the ‘controls’ menu from the ‘quick menu’ to move the core’s button mapping around on the retropad.

The idea is that you map your physical pad to the retropad once in settings > input (or not at all, if your pad is autoconfigured) and then you can move the core’s retropad mapping around in the aforementioned ‘controls’ menu (though you shouldn’t even need to do that, usually, as the defaults are typically fine).