Files
AnyPS5/core/libs/prx/libSceBluetoothHid/Export.cpp
T
hypermistandClaude Opus 5.5 afbd9b882f fix(libs): return what the firmware returns from 24 utility calls it does not implement
ContentBinder, CompanionUtil, ErrorDialog OpenDetail/OpenWithReport,
ImeDialog ForTestFunction, HttpCache SystemTerm/SendStatistics,
MoveTracker GetVersion/RecordStop, BluetoothHid and SystemGesture debug
versions and Mbus Term/AcquireControlList are a single constant return
in the firmware modules; these exports now return the same value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-20 22:36:53 +13:00

97 lines
2.1 KiB
C++

#include <cstdint>
#include <cstddef>
#include "SceTypes.hpp"
#include "prx/libc/include/General.hpp"
#include <string>
extern "C" {
std::int32_t APS5_VABI sceBluetoothHidInit() {
return 0;
}
std::int32_t APS5_VABI sceBluetoothHidRegisterCallback(void* callback, std::int32_t flags, void* param) {
(void)flags;
(void)param;
if (callback == nullptr) throw std::invalid_argument(std::string(__func__) + ": null callback");
return 0;
}
std::int32_t APS5_VABI sceBluetoothHidUnregisterCallback() {
return 0;
}
std::int32_t APS5_VABI sceBluetoothHidRegisterDevice(std::uint16_t vendorId, std::uint16_t productId) {
(void)vendorId;
(void)productId;
return 0;
}
std::int32_t APS5_VABI sceBluetoothHidUnregisterDevice(std::uint16_t vendorId, std::uint16_t productId) {
(void)vendorId;
(void)productId;
return 0;
}
int APS5_VABI sceBluetoothHidGetDeviceName() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidGetInputReport() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidSetOutputReport() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidDebugGetVersion() {
return 0x1e;
}
int APS5_VABI sceBluetoothHidDisconnectDevice() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidGetDeviceInfo() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidGetFeatureReport() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidGetReportDescriptor() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidInterruptOutput() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidParamInitialize() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidSetFeatureReport() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceBluetoothHidThreadParamInitialize() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}