From ac47b4ea5b4f7b920b84a1e70adce3475e3be346 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 3 Apr 2013 10:50:50 +1000 Subject: Allow soft button areas to overlap on the edge For percent-based configuration in the form of middle button 33%-66%, right button 66%-0 we'd get an error because of the one device unit overlap. This was neither documented nor useful, because leaving a 1% gap leaves an actual gap between the buttons. Allow for an overlap of one device unit on the edge of the buttons. What's picked in that case depends on the implementation of is_inside_softbutton_area but since one device unit is so small, it doesn't matter. Signed-off-by: Peter Hutterer --- man/synaptics.man | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/synaptics.man b/man/synaptics.man index 2b7b7b9..079a5f8 100644 --- a/man/synaptics.man +++ b/man/synaptics.man @@ -443,7 +443,8 @@ bottom edge of the middle button, respectively. Any of the values may be given as percentage of the touchpad width or height, whichever applies. If any edge is set to 0 (not 0%), the button is assumed to extend to infinity in the given direction. Setting all values to 0 (not 0%) disables -soft button areas. +soft button areas. Button areas may not overlap, however it is permitted for two +buttons to share an edge value. Property: "Synaptics Soft Button Areas" . -- cgit v1.2.3