diff options
author | Pip Cet <pipcet@gmail.com> | 2021-04-09 16:58:38 +0000 |
---|---|---|
committer | Pip Cet <pipcet@gmail.com> | 2021-04-09 16:58:38 +0000 |
commit | 3e4bc35dfe96208fc55d1b5a279206a2013153ef (patch) | |
tree | 7e394d8554abaf554b66d009330f37e477ea7eb2 | |
parent | 7c32bc6f1f689b2c877be3a6b65a68844f9ce7e4 (diff) |
synclient: allow negative/large values for AreaLeftEdge etc.
-rw-r--r-- | tools/synclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index 32bf91f..13fb812 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -132,10 +132,10 @@ static struct Parameter params[] = { {"PressureMotionMaxFactor", PT_DOUBLE, 0, 10.0,SYNAPTICS_PROP_PRESSURE_MOTION_FACTOR, 0 /*float*/, 1}, {"GrabEventDevice", PT_BOOL, 0, 1, SYNAPTICS_PROP_GRAB, 8, 0}, {"TapAndDragGesture", PT_BOOL, 0, 1, SYNAPTICS_PROP_GESTURES, 8, 0}, - {"AreaLeftEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_AREA, 32, 0}, - {"AreaRightEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_AREA, 32, 1}, - {"AreaTopEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_AREA, 32, 2}, - {"AreaBottomEdge", PT_INT, 0, 10000, SYNAPTICS_PROP_AREA, 32, 3}, + {"AreaLeftEdge", PT_INT, INT_MIN, INT_MAX, SYNAPTICS_PROP_AREA, 32, 0}, + {"AreaRightEdge", PT_INT, INT_MIN, INT_MAX, SYNAPTICS_PROP_AREA, 32, 1}, + {"AreaTopEdge", PT_INT, INT_MIN, INT_MAX, SYNAPTICS_PROP_AREA, 32, 2}, + {"AreaBottomEdge", PT_INT, INT_MIN, INT_MAX, SYNAPTICS_PROP_AREA, 32, 3}, {"HorizHysteresis", PT_INT, 0, 10000, SYNAPTICS_PROP_NOISE_CANCELLATION, 32, 0}, {"VertHysteresis", PT_INT, 0, 10000, SYNAPTICS_PROP_NOISE_CANCELLATION, 32, 1}, {"ClickPad", PT_BOOL, 0, 1, SYNAPTICS_PROP_CLICKPAD, 8, 0}, |