Monday, July 3, 2017

GPD Pocker: Touchscreen rotation with wayland

The GPD pocket has a "Goodix Capacitive TouchScreen", which just like the display is rotated by default. The reddit thread suggests to fix this with xinput, which can be made permanent by adding a xorg config file. However this doesn't work if you are using Wayland instead of Xorg.

To fix the touchscreen orientation in wayland:
Save this to /etc/udev/rules.d/99-goodix-touch.rules:
ACTION=="add|change", KERNEL=="event[0-9]*", ATTRS{name}=="Goodix Capacitive TouchScreen", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"

For me reloading udev rules and triggering udev didn't activate this. But after restarting it did work.

1 comment:

  1. Lease a Car Islamabad Airport associations have ended up to an extraordinary degree perceptible in view of the diligently developing needs of transportation. This has occurred into number of rental auto associations appearing in the business part to offer their organizations. Rent a Car in Islamabad With the tempest of such an extensive number of rental auto associations it persuades the chance to be every so often hard to pick the best auto rental affiliation.

    ReplyDelete