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

Apply calibration to evdev touchscreen and swap/invert axes #37

Closed
kaythe opened this issue Nov 12, 2018 · 1 comment
Closed

Apply calibration to evdev touchscreen and swap/invert axes #37

kaythe opened this issue Nov 12, 2018 · 1 comment

Comments

@kaythe
Copy link
Contributor

kaythe commented Nov 12, 2018

Hi,

I have a touchscreen that - similar to issue #35 - has a scaling that doesn't equal the display resolution. Additionally the x and y axes are swapped and the reported coordinates have quite a big offset from 0 and 4096, resp. I do have an xorg.conf that came with the screen and contains the calibration values.

I added options to swap x and y axes, invert one or both axes (on my touchscreen the x axis is inverted) and apply min/max values for the x and y axes to calibrate the screen. I'd be happy to create a pull request if you're interested.

@kisvegabor
Copy link
Member

Hi,

Sound great! A PR would be welcome!

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

2 participants