What application are you attempting to get multitouch input into? I find a vast majority of the Raspbian desktop doesn’t know or care about multi-touch, but Chromium has some crude support for pinch zoom that demonstrates it’s recognized.
I don’t believe there’s any requirement for a /dev/input/touchscreen node? I guess a udev rule could be added to create it. But to what end?
Currently the X and Y axis dimensions from the touchscreen are reversed (480x800 instead of 800x480) this is at the driver level so I guess someone from Pimoroni may need to look into this.
I have a Python library which accomplishes the same thing (https://github.com/pimoroni/python-multitouch/blob/master/library/hp4ts.py), and also ran into weirdness with the touch scaling being 480x800- this is hardware-level problem (since it’s a 480x800 portrait display that we’re rotating into landscape) and the touch driver doesn’t appear to expose any options to correct it. I tried switching the X/Y dimensions in the dtoverlay but it appears to have no effect whatsoever.
So I played around with the driver, I can change the width and height but all it sets are the maximum values, so the ranges stay the same but you get some negative values as well. Arghh
There is also a flag “X2Y” at bit 3 of the I2C register 0x804d on the touchscreen this is set to 1 by default which is why the X and Y dimensions are swapped, unfortunately setting it to 0 from the driver has no effect so I am guessing this has to be done at the firmware config level.
So It would be good to know if you guys have programmed the firmware cfg, if so can you share the data with me?