libts / tslib

Touchscreen access library
GNU Lesser General Public License v2.1
596 stars 290 forks source link

Add option to keep validation points away from screen edges #206

Closed slpn-lampe closed 5 months ago

slpn-lampe commented 10 months ago

Similar to PR #175, this patch adds an option to keep the center of the validation crosses a certain amount of pixels from the screen edges.

As -b was already taken, this patch uses -o or --border. Any other name would do, though.

merge commented 10 months ago

good idea and makes sense to me