Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PCSX2/pcsx2
/ HasConnectedPad
Method
HasConnectedPad
pcsx2/SIO/Pad/Pad.cpp:529–533 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
527
}
528
529
bool Pad::HasConnectedPad(u8 unifiedSlot)
530
{
531
return (
532
unifiedSlot < NUM_CONTROLLER_PORTS && s_controllers[unifiedSlot]->GetType() != ControllerType::NotConnected);
533
}
534
535
PadBase* Pad::GetPad(u8 port, u8 slot)
536
{
Callers
nothing calls this directly
Calls
1
GetType
Method · 0.45
Tested by
no test coverage detected