diff options
| -rw-r--r-- | src/core/hid/irs_types.h | 20 | ||||
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/hid/irsensor/pointing_processor.h | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/core/hid/irs_types.h b/src/core/hid/irs_types.h index 88c5b016d..0d1bfe53f 100644 --- a/src/core/hid/irs_types.h +++ b/src/core/hid/irs_types.h | |||
| @@ -14,7 +14,7 @@ enum class CameraAmbientNoiseLevel : u32 { | |||
| 14 | Low, | 14 | Low, |
| 15 | Medium, | 15 | Medium, |
| 16 | High, | 16 | High, |
| 17 | Unkown3, // This level can't be reached | 17 | Unknown3, // This level can't be reached |
| 18 | }; | 18 | }; |
| 19 | 19 | ||
| 20 | // This is nn::irsensor::CameraLightTarget | 20 | // This is nn::irsensor::CameraLightTarget |
| @@ -75,9 +75,9 @@ enum class IrCameraStatus : u32 { | |||
| 75 | enum class IrCameraInternalStatus : u32 { | 75 | enum class IrCameraInternalStatus : u32 { |
| 76 | Stopped, | 76 | Stopped, |
| 77 | FirmwareUpdateNeeded, | 77 | FirmwareUpdateNeeded, |
| 78 | Unkown2, | 78 | Unknown2, |
| 79 | Unkown3, | 79 | Unknown3, |
| 80 | Unkown4, | 80 | Unknown4, |
| 81 | FirmwareVersionRequested, | 81 | FirmwareVersionRequested, |
| 82 | FirmwareVersionIsInvalid, | 82 | FirmwareVersionIsInvalid, |
| 83 | Ready, | 83 | Ready, |
| @@ -121,20 +121,20 @@ enum class IrSensorFunctionLevel : u8 { | |||
| 121 | 121 | ||
| 122 | // This is nn::irsensor::MomentProcessorPreprocess | 122 | // This is nn::irsensor::MomentProcessorPreprocess |
| 123 | enum class MomentProcessorPreprocess : u32 { | 123 | enum class MomentProcessorPreprocess : u32 { |
| 124 | Unkown0, | 124 | Unknown0, |
| 125 | Unkown1, | 125 | Unknown1, |
| 126 | }; | 126 | }; |
| 127 | 127 | ||
| 128 | // This is nn::irsensor::PackedMomentProcessorPreprocess | 128 | // This is nn::irsensor::PackedMomentProcessorPreprocess |
| 129 | enum class PackedMomentProcessorPreprocess : u8 { | 129 | enum class PackedMomentProcessorPreprocess : u8 { |
| 130 | Unkown0, | 130 | Unknown0, |
| 131 | Unkown1, | 131 | Unknown1, |
| 132 | }; | 132 | }; |
| 133 | 133 | ||
| 134 | // This is nn::irsensor::PointingStatus | 134 | // This is nn::irsensor::PointingStatus |
| 135 | enum class PointingStatus : u32 { | 135 | enum class PointingStatus : u32 { |
| 136 | Unkown0, | 136 | Unknown0, |
| 137 | Unkown1, | 137 | Unknown1, |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | struct IrsRect { | 140 | struct IrsRect { |
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 46bad7871..79375bd2f 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
| @@ -2118,7 +2118,7 @@ void Hid::WritePalmaWaveEntry(Kernel::HLERequestContext& ctx) { | |||
| 2118 | ASSERT_MSG(t_mem->GetSize() == 0x3000, "t_mem has incorrect size"); | 2118 | ASSERT_MSG(t_mem->GetSize() == 0x3000, "t_mem has incorrect size"); |
| 2119 | 2119 | ||
| 2120 | LOG_WARNING(Service_HID, | 2120 | LOG_WARNING(Service_HID, |
| 2121 | "(STUBBED) called, connection_handle={}, wave_set={}, unkown={}, " | 2121 | "(STUBBED) called, connection_handle={}, wave_set={}, unknown={}, " |
| 2122 | "t_mem_handle=0x{:08X}, t_mem_size={}, size={}", | 2122 | "t_mem_handle=0x{:08X}, t_mem_size={}, size={}", |
| 2123 | connection_handle.npad_id, wave_set, unknown, t_mem_handle, t_mem_size, size); | 2123 | connection_handle.npad_id, wave_set, unknown, t_mem_handle, t_mem_size, size); |
| 2124 | 2124 | ||
diff --git a/src/core/hle/service/hid/irsensor/pointing_processor.h b/src/core/hle/service/hid/irsensor/pointing_processor.h index cf4930794..d63423aff 100644 --- a/src/core/hle/service/hid/irsensor/pointing_processor.h +++ b/src/core/hle/service/hid/irsensor/pointing_processor.h | |||
| @@ -37,10 +37,10 @@ private: | |||
| 37 | u8 pointing_status; | 37 | u8 pointing_status; |
| 38 | INSERT_PADDING_BYTES(3); | 38 | INSERT_PADDING_BYTES(3); |
| 39 | u32 unknown; | 39 | u32 unknown; |
| 40 | float unkown_float1; | 40 | float unknown_float1; |
| 41 | float position_x; | 41 | float position_x; |
| 42 | float position_y; | 42 | float position_y; |
| 43 | float unkown_float2; | 43 | float unknown_float2; |
| 44 | Core::IrSensor::IrsRect window_of_interest; | 44 | Core::IrSensor::IrsRect window_of_interest; |
| 45 | }; | 45 | }; |
| 46 | static_assert(sizeof(PointingProcessorMarkerData) == 0x20, | 46 | static_assert(sizeof(PointingProcessorMarkerData) == 0x20, |