I got everything working but I was disappointed with my resistive touchscreen in LibreElec. Often, even though the item I pressed actually selected (turned blue), it didn't seem to register. This was especially apparent when using the virtual keyboard, about half of what I typed was not registering. I often had to press buttons a few times until they registered. My touchscreen was calibrated and the skin was Estouchy.
After some careful observation, I noticed what was happening. When releasing my finger from the touchscreen, the pointer would often move slightly. And if the pointer moved too much, LibreElec treated this as a "drag" event rather than a "leftclick" event and would not register the press. It helped if I quickly released my finger from the screen and at a right-angle to the screen.
My solution is to remap the "mousedragend" event as a "leftclick" event. As long as you release your finger from the screen while still on the button you were trying to press, it would treat it as a “leftclick”. I also made a long press act as a "rightclick", this was useful when bouncing between skins to change settings. My touchscreen now works great after the remap.
To remap, create a new file by typing the following in the terminal.
Then paste the text below into the file, save then reboot.
I assume the correct fix would be to increase distance in the drag event in LibreElec, adjust it so that you have to move the pointer further to start the drag event. As it is now, it's very sensitive...just a few pixels off of the initial press coordinates and the drag event is fired.
My concern with this is that I don’t know if changing the keyboard's drag-n-drop mapping effects LibreElec anywhere else adversely. I can still scroll items, move sliders (volume control), etc. I haven't found a problem yet but it would be if LibreElec or an addon uses the drag-n-drop feature.