From 3ca33e19e2617383ba0d13a7d4b2525a1a7246a7 Mon Sep 17 00:00:00 2001 From: DH Date: Wed, 13 Nov 2024 22:00:23 +0300 Subject: [PATCH] hid: reduce log spam --- rpcsx/iodev/hid.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rpcsx/iodev/hid.cpp b/rpcsx/iodev/hid.cpp index 140bfc79e..56fa27ce8 100644 --- a/rpcsx/iodev/hid.cpp +++ b/rpcsx/iodev/hid.cpp @@ -34,6 +34,10 @@ static orbis::ErrorCode hid_ioctl(orbis::File *file, std::uint64_t request, thread->retval[0] = 1; // hid id return {}; + case 0x80104801: + // TODO + return{}; + case 0x8030482e: { // ORBIS_LOG_FATAL("hid ioctl", request); // read state @@ -62,7 +66,7 @@ static orbis::ErrorCode hid_ioctl(orbis::File *file, std::uint64_t request, case 0x8010480e: { // read information - ORBIS_LOG_ERROR("hid read information"); + // ORBIS_LOG_ERROR("hid read information"); return {}; } @@ -83,6 +87,11 @@ static orbis::ErrorCode hid_ioctl(orbis::File *file, std::uint64_t request, return {}; } + case 0x80184822: { + // TODO + break; + } + default: ORBIS_LOG_FATAL("Unhandled hid ioctl", request); thread->where();