Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Santroller/Santroller
/ isDualShockReply
Function
isDualShockReply
lib/psx_controller/psx_controller.cpp:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
static inline bool isDualShockReply(const uint8_t *status)
36
{
37
return (status[1] & 0xF0) == 0x70;
38
}
39
40
static inline bool isDualShock2Reply(const uint8_t *status)
41
{
Callers
1
processData
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected