kodi 17.3 touchscreen
i am trying to get the touchscreen to work for the life of me in kodi 17.3 on a raspberry pi 3 running raspbian pixel.....   my main goal is to run CarPC but its useless if touch is not working.... touch works wonders in desktop but not in kodi Sad i am new to all this....

my specs are:
1. raspberry pi 3
2. raspbian pixel 11-25-16 i think
3. 5 inch elecrow RPA05010R  touchscreen
4. kodi 17.3
I was able to get this working a while ago, with this same screen no less.
the issue i found with most instructions was that they were for calibrating under X, where kodi needs its own calibration.
I'll see if i can find more details on what i did tonight and post them here.

the main reason i no longer have this set up was because gestures of any kind didn't work, so scrolling etc was a real pain.
to load the touchscreen driver you need to add the following to the /boot/config.txt:
hdmi_cvt 800 480 60 6 0 0 0
to make the touch work i had to create the advancedsettings.xml file with the following contents:
        <x_offset>-50</x_offset> <!-- set pixel x offset to align it to the used display-->
        <y_offset>-50</y_offset> <!-- set pixel y offset to align it to the used display-->
        <x_stretch_factor>0.216392</x_stretch_factor> <!-- stretch/compress the touch x axis-->
        <y_stretch_factor>0.132523</y_stretch_factor> <!-- stretch/compress the touch y axis-->

adding a mouse.xml to the keymaps folder with the following contents is also beneficial:
            <doubleclick id="0">noop</doubleclick>
            <longclick id="0">contextmenu</longclick>

if your screen is calibrated differently you can work out the factors for kodi by taking the min and max values for each axis in the config.txt file, eg:
the resolution:
W=800, H=480


Logout Mark Read Team Forum Stats Members Help
kodi 17.3 touchscreen0
This forum uses Lukasz Tkacz MyBB addons.