fixing retro_set_controller_port_device

Fixing a few issues with retro_set_controller_port_device and update_input.