Closed mifritscher closed 2 years ago
I had the same experience. The initial setup (laptop mode) doesn't properly transform the touch/pen input.
I have the same problem, pen input doesn't rotate and the pen button must be hold to scribe/ drag some window
Same problem here. Actually, after upgrading the kernal, rotation and touch screen works good as expected. The problem happens after run this script. Seems we rotate the framebuffer but failed to rotate the touchscreen together correctly.
I fixed it by comment out these lines and set iio-sensor-proxy configuration:
# Rotate the touchscreen.
inject_data "${TOUCH_RULES}"
# Reload udev rules
udevadm control --reload-rules
udevadm trigger
Fixed via #40
At least on my pocket 3, the program wants to rotate pen and stylus right. But I need the first transformation matrix to get the touch screen right in normal laptop mode:
xinput set-prop "GXTP7380:00 27C6:0113" "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
Additionally, I get no further message even when rotating the device. A hacked
fprintf(stderr, "%d %d %d\n",x,y,z);
gets always50 0 -54
the raw data: 202 -3 -216 .