mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-29 11:47:52 -05:00
Stubbed IRS (#1349)
* Stubbed IRS Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly. * Added IRS to logging backend * Forward declared shared memory for irs
This commit is contained in:
@ -4,14 +4,41 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/hle/kernel/object.h"
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Kernel {
|
||||
class SharedMemory;
|
||||
}
|
||||
|
||||
namespace Service::HID {
|
||||
|
||||
class IRS final : public ServiceFramework<IRS> {
|
||||
public:
|
||||
explicit IRS();
|
||||
~IRS() override;
|
||||
|
||||
private:
|
||||
void ActivateIrsensor(Kernel::HLERequestContext& ctx);
|
||||
void DeactivateIrsensor(Kernel::HLERequestContext& ctx);
|
||||
void GetIrsensorSharedMemoryHandle(Kernel::HLERequestContext& ctx);
|
||||
void StopImageProcessor(Kernel::HLERequestContext& ctx);
|
||||
void RunMomentProcessor(Kernel::HLERequestContext& ctx);
|
||||
void RunClusteringProcessor(Kernel::HLERequestContext& ctx);
|
||||
void RunImageTransferProcessor(Kernel::HLERequestContext& ctx);
|
||||
void GetImageTransferProcessorState(Kernel::HLERequestContext& ctx);
|
||||
void RunTeraPluginProcessor(Kernel::HLERequestContext& ctx);
|
||||
void GetNpadIrCameraHandle(Kernel::HLERequestContext& ctx);
|
||||
void RunPointingProcessor(Kernel::HLERequestContext& ctx);
|
||||
void SuspendImageProcessor(Kernel::HLERequestContext& ctx);
|
||||
void CheckFirmwareVersion(Kernel::HLERequestContext& ctx);
|
||||
void SetFunctionLevel(Kernel::HLERequestContext& ctx);
|
||||
void RunImageTransferExProcessor(Kernel::HLERequestContext& ctx);
|
||||
void RunIrLedProcessor(Kernel::HLERequestContext& ctx);
|
||||
void StopImageProcessorAsync(Kernel::HLERequestContext& ctx);
|
||||
void ActivateIrsensorWithFunctionLevel(Kernel::HLERequestContext& ctx);
|
||||
Kernel::SharedPtr<Kernel::SharedMemory> shared_mem;
|
||||
const u32 device_handle{0xABCD};
|
||||
};
|
||||
|
||||
class IRS_SYS final : public ServiceFramework<IRS_SYS> {
|
||||
|
Reference in New Issue
Block a user