renamed SetTouchScreenOutputRanges to SetTouchScreenOutputRanges [20.0.0+]

This commit is contained in:
Pavel Barabanov 2025-05-03 06:26:24 +03:00
parent d55e400c7c
commit d9eea0dc72
4 changed files with 5 additions and 5 deletions

View file

@ -82,9 +82,9 @@ Result TouchScreen::SetTouchScreenMagnification(f32 point1_x, f32 point1_y, f32
return ResultSuccess;
}
Result TouchScreen::SetTouchScreenResolution(u32 width, u32 height, u64 aruid) {
Result TouchScreen::SetTouchScreenOutputRanges(u32 width, u32 height, u64 aruid) {
std::scoped_lock lock{mutex};
return touch_resource->SetTouchScreenResolution(width, height, aruid);
return touch_resource->SetTouchScreenOutputRanges(width, height, aruid);
}
Result TouchScreen::SetTouchScreenConfiguration(

View file

@ -42,7 +42,7 @@ public:
Result ProcessTouchScreenAutoTune();
Result SetTouchScreenMagnification(f32 point1_x, f32 point1_y, f32 point2_x, f32 point2_y);
Result SetTouchScreenResolution(u32 width, u32 height, u64 aruid);
Result SetTouchScreenOutputRanges(u32 width, u32 height, u64 aruid);
Result SetTouchScreenConfiguration(const Core::HID::TouchScreenConfigurationForNx& mode,
u64 aruid);

View file

@ -296,7 +296,7 @@ void TouchResource::SetTouchScreenMagnification(f32 point1_x, f32 point1_y, f32
};
}
Result TouchResource::SetTouchScreenResolution(u32 width, u32 height, u64 aruid) {
Result TouchResource::SetTouchScreenOutputRanges(u32 width, u32 height, u64 aruid) {
std::scoped_lock lock{*shared_mutex};
for (std::size_t aruid_index = 0; aruid_index < AruidIndexMax; aruid_index++) {

View file

@ -66,7 +66,7 @@ public:
Result ProcessTouchScreenAutoTune();
void SetTouchScreenMagnification(f32 point1_x, f32 point1_y, f32 point2_x, f32 point2_y);
Result SetTouchScreenResolution(u32 width, u32 height, u64 aruid);
Result SetTouchScreenOutputRanges(u32 width, u32 height, u64 aruid);
Result SetTouchScreenConfiguration(
const Core::HID::TouchScreenConfigurationForNx& touch_configuration, u64 aruid);