(joypad_connection.c) refactor pt. 1
(joypad_connection.c) Refactor pt. 2