on_cul is not ideal to achieve what you're trying to do. Better store the function pointers in an array or any other data structures and catch the on_key event. The scancode of the key pressed is passed as a parameter to that function.

The right syntax for a pointer to a function pointer is void** as you already found out.


Always learn from history, to be sure you make the same mistakes again...