Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPD Pocket 3 rotate issues #31

Closed
mifritscher opened this issue Jan 22, 2022 · 4 comments
Closed

GPD Pocket 3 rotate issues #31

mifritscher opened this issue Jan 22, 2022 · 4 comments

Comments

@mifritscher
Copy link

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 always
50 0 -54

the raw data:
202 -3 -216
.

@gdevenyi
Copy link

I had the same experience. The initial setup (laptop mode) doesn't properly transform the touch/pen input.

@JohnJayMcKaye
Copy link

I have the same problem, pen input doesn't rotate and the pen button must be hold to scribe/ drag some window

@wtlyu
Copy link

wtlyu commented Jan 25, 2022

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

@flexiondotorg
Copy link
Member

Fixed via #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants