Specific Keyboard Shortcuts during Simulate

Hi,

As I am developing AI behaviors I make a lot of use of the Simulate mode.
I would like to have available a set of shortcuts to perform a few operations with the keyboard: Pause Simulation, Resume, Step One Frame, Increase simulation speed, Decrease simulation speed, etc…

Where should I look at to do all these? I am aware that I can do some of these with cvars, or with some buttons on the editor, but I would like to do it the other way around, in C++ if possible.

Any idea where should I start?
Cheers