mirror of
https://github.com/libretro/RetroArch
synced 2025-02-26 06:40:39 +00:00
(GX) Input tweaks
This commit is contained in:
parent
2d17014d99
commit
33154c1a04
@ -268,19 +268,18 @@ static void gx_input_poll(void *data)
|
|||||||
(void)data;
|
(void)data;
|
||||||
|
|
||||||
bool quit_gc = false;
|
bool quit_gc = false;
|
||||||
|
u32 gc_pads_connected = PAD_ScanPads();
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
bool quit_classic = false;
|
bool quit_classic = false;
|
||||||
bool quit_wiimote = false;
|
bool quit_wiimote = false;
|
||||||
#endif
|
WPAD_ReadPending(WPAD_CHAN_ALL, NULL);
|
||||||
|
|
||||||
PAD_ScanPads();
|
|
||||||
#ifdef HW_RVL
|
|
||||||
WPAD_ScanPads();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (unsigned port = 0; port < MAX_PADS; port++)
|
for (unsigned port = 0; port < MAX_PADS; port++)
|
||||||
{
|
{
|
||||||
uint64_t state = 0;
|
uint64_t state = 0;
|
||||||
|
|
||||||
|
if (gc_pads_connected)
|
||||||
{
|
{
|
||||||
uint16_t down = PAD_ButtonsHeld(port);
|
uint16_t down = PAD_ButtonsHeld(port);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user