mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-03-01 06:55:48 +00:00
hid: add ps5 usb ready ioctl
This commit is contained in:
parent
d7c3cb17ad
commit
afde24fd91
@ -34,6 +34,15 @@ static orbis::ErrorCode hid_ioctl(orbis::File *file, std::uint64_t request,
|
||||
thread->retval[0] = 1; // hid id
|
||||
return {};
|
||||
|
||||
case 0x8004486e:
|
||||
if (orbis::g_context.fwType != orbis::FwType::Ps5) {
|
||||
return orbis::ErrorCode::INVAL;
|
||||
}
|
||||
|
||||
*static_cast<std::uint32_t *>(argp) = 1;
|
||||
thread->retval[0] = 1;
|
||||
return{};
|
||||
|
||||
case 0x80104801:
|
||||
// TODO
|
||||
return{};
|
||||
|
Loading…
x
Reference in New Issue
Block a user