Trying to get a new display working on the Nitrogen6x/Sabrelite.
Boundarydevices have a touch driver for the FT5x06 controller located in /drivers/input/touchscreen/ft5x06.c. The resolution of my display is 800x480 vs 1024x598 as defined in the driver, so I changed the init like so:
|input_set_abs_params(idev, ABS_X, 0, 799, 0, 0);|
input_set_abs_params(idev, ABS_Y, 0, 479, 0, 0);
input_set_abs_params(idev, ABS_PRESSURE, 0, 1, 0, 0);
Now the whole X and Y direction is used but Y is flipped, so I tried to swap the min and max for the Y orientation like so:
input_set_abs_params(idev, ABS_Y, 479, 0, 0, 0);
but no difference... Any idea what how to swap the Y coordinates?
Tried this using a modified kernel under the ubuntu rfs relase.