Browse Source

renamed SetTouchScreenOutputRanges to SetTouchScreenOutputRanges [20.0.0+]

nce_cpp
Pavel Barabanov 8 months ago
parent
commit
d9eea0dc72
  1. 4
      src/hid_core/resources/touch_screen/touch_screen.cpp
  2. 2
      src/hid_core/resources/touch_screen/touch_screen.h
  3. 2
      src/hid_core/resources/touch_screen/touch_screen_resource.cpp
  4. 2
      src/hid_core/resources/touch_screen/touch_screen_resource.h

4
src/hid_core/resources/touch_screen/touch_screen.cpp

@ -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(

2
src/hid_core/resources/touch_screen/touch_screen.h

@ -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);

2
src/hid_core/resources/touch_screen/touch_screen_resource.cpp

@ -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++) {

2
src/hid_core/resources/touch_screen/touch_screen_resource.h

@ -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);

Loading…
Cancel
Save