libts / tslib

Touchscreen access library
GNU Lesser General Public License v2.1
614 stars 291 forks source link

Add buffer to screen edge for validation crosshair placement #175

Closed slimdom closed 2 months ago

slimdom commented 4 years ago

Adds an optional command line setting to configure buffer around screen perimeter in which crosshairs will not appear during validation. Useful for cases with bezels or screens with hard-to-reach corners.

slpn-lampe commented 1 year ago

I was about to open a similar pull request. An option to keep the validation crosses away from the screen edge would be useful.

With our typical screen resolutions, using int instead of unsigned int would be ok and not cause different signedness warnings, if that is the main objection.

merge commented 8 months ago

does the now merged --border option cover this usecase too?

merge commented 2 months ago

does the now merged --border option cover this usecase too?

I assume so and in case there's no updates, I think we can drop this PR. thank you anyways very much!