summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/irsensor/pointing_processor.cpp
blob: 929f177fc6dab534d7a6bb3bbd8ac82a795f2364 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#include "core/hle/service/hid/irsensor/pointing_processor.h"

namespace Service::IRS {
PointingProcessor::PointingProcessor(Core::IrSensor::DeviceFormat& device_format)
    : device(device_format) {
    device.mode = Core::IrSensor::IrSensorMode::PointingProcessorMarker;
    device.camera_status = Core::IrSensor::IrCameraStatus::Unconnected;
    device.camera_internal_status = Core::IrSensor::IrCameraInternalStatus::Stopped;
}

PointingProcessor::~PointingProcessor() = default;

void PointingProcessor::StartProcessor() {}

void PointingProcessor::SuspendProcessor() {}

void PointingProcessor::StopProcessor() {}

void PointingProcessor::SetConfig(Core::IrSensor::PackedPointingProcessorConfig config) {
    current_config.window_of_interest = config.window_of_interest;
}

} // namespace Service::IRS