Solved Touchscreen offset issue [Since v19]
#1
Hi,

I need some help with the "touchscreen" configuration.
How do I know how to calculate each parameter here:

Code:
<touchscreen>
    <x_offset>0</x_offset> <!-- set pixel x offset to align it to the used display-->
    <y_offset>0</y_offset> <!-- set pixel y offset to align it to the used display-->
    <x_stretch_factor>1.0</x_stretch_factor> <!-- stretch/compress the touch x axis-->
    <y_stretch_factor>1.0</y_stretch_factor> <!-- stretch/compress the touch y axis-->
</touchscreen>

Some additional details:
I have Samsung S8 and I have a big problem with the touchscreen since Kodi 19,
it seems that the app is opened now in full screen, so there is an offset position of the touch.
I go to my android settings, but it doesn't let me to disable the full screen (It forced to be opened as full screen)
I also tried to make a screen calibration from kodi settings, but I can't do it since the offset issue of the tapping on screen.

My android screen is 1440 X 2960 (WQHD+)

The white arrow mark is where I want to tap, and the yellow arrow mark is where approximately I need to tap,
I have an offset (up-left from the wanted point) in all the screens, when I need to tap on the left side of the screen it's getting even worse.
I don't know how to fix that.

Image
Image
Reply
#2
Thread moved to the Titan skin sub-forum.
Reply
#3
@Klojum 

Why did you move it to Titan skin?
I need general help regarding the "touchscreen" tag in the "advancedsettings.xml".

I just put image to show the idea. So I will remove it if need to.
Reply
#4
(2023-02-11, 22:33)burekas Wrote: I just put image to show the idea.

That was not clear AFAICT.
Reply
#5
OK,
So the problem wasn't with the touchscreen offset.

The issue was that I copied my kodi data from windows to android device.
On the first load it looks like that:
* Resolution = "Windowed" (And cannot be changed)
* Refresh rate = "Windowed" (And cannot be changed)
Image

But after reset this section to default, I got that:
* Resolution = "2960x1440p" (Which is the correct value)
* Refresh rate = "60.00" (Which is the correct value)
Image

And now it's perfect.
So:
1. I don't know why I couldn't change it manually - Should be fixed.
2. Reset to default fixed the issue (The problem is that it was hard to get there with the touchscreen offset, so I use a mouse connected to the device for that)
Reply

Logout Mark Read Team Forum Stats Members Help
Touchscreen offset issue [Since v19]0