(XDK1) Add pad disconnected message
This commit is contained in:
parent
b5e5dc58c2
commit
29b7785dd7
|
@ -163,6 +163,11 @@ static void xdk_joypad_poll(void)
|
||||||
|
|
||||||
gamepads[port] = 0;
|
gamepads[port] = 0;
|
||||||
pad_state[port] = 0;
|
pad_state[port] = 0;
|
||||||
|
|
||||||
|
char msg[512];
|
||||||
|
snprintf(msg, sizeof(msg), "Joypad #%u (%s) disconnected.", i, udev_pads[i].ident);
|
||||||
|
rarch_main_msg_queue_push(msg, 0, 60, false);
|
||||||
|
RARCH_LOG("%s\n", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* handle inserted devices. */
|
/* handle inserted devices. */
|
||||||
|
|
Loading…
Reference in New Issue