Create a gamepad event.
https://ultralig.ht/api/c/1_3_0/_c_a_p_i___gamepad_event_8h.html
See Implementation