I was attempting to run a HyperPixel4 with touch on a Pi 3 using latest Raspian Lite 2018-11-13. Ran the HyperPixel4 installer and display is working fine. Running in the default orientation. My problem is with touch. For some reason when I run EVTEST the X and Y maximum values are inverted. So on the longer X axis I get EVDEV events from 0-479 and on the shorter Y axis I get EVDEV events from 0-799. I would expect this to be reversed so the longer X axis was 0-799 and the shorter Y axis was 0-479
Input driver version is 1.0.1 Input device ID: bus 0x18 vendor 0x416 product 0x38f version 0x1060 Input device name: "Goodix Capacitive TouchScreen" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 125 (KEY_LEFTMETA) Event code 330 (BTN_TOUCH) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 17 Min 0 Max 480 Event code 1 (ABS_Y) Value 771 Min 0 Max 800 Event code 47 (ABS_MT_SLOT) Value 0 Min 0 Max 4 Event code 48 (ABS_MT_TOUCH_MAJOR) Value 0 Min 0 Max 255 Event code 50 (ABS_MT_WIDTH_MAJOR) Value 0 Min 0 Max 255 Event code 53 (ABS_MT_POSITION_X) Value 0 Min 0 Max 480 Event code 54 (ABS_MT_POSITION_Y) Value 0 Min 0 Max 800 Event code 57 (ABS_MT_TRACKING_ID) Value 0 Min 0 Max 65535
I tried the alternate drivers, with many combinations/switches when building, but still can’t get the expected results from EVDEV. Am I wrong in how I am expecting the EVDEV events to be reported? If not, is there some way to correct this?