MCPcopy Create free account
hub / github.com/Inori/GPCS4 / scePadReadState

Function scePadReadState

GPCS4/SceModules/ScePad/sce_pad.cpp:132–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132int PS4API scePadReadState(int32_t handle, ScePadData *pData)
133{
134 LOG_SCE_TRACE("handle %d", handle);
135 int err = SCE_PAD_ERROR_INVALID_HANDLE;
136 do
137 {
138 auto& pad = g_padSlot[handle];
139 if (!pad)
140 {
141 break;
142 }
143
144 err = g_padSlot[handle]->readState(pData);
145 } while (false);
146 return err;
147}
148
149
150int PS4API scePadSetLightBar(int32_t handle, const ScePadLightBarParam *pParam)

Callers

nothing calls this directly

Calls 1

readStateMethod · 0.80

Tested by

no test coverage detected