lorenzodelarocha / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

Allow to invert scroll #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With the 0.3 GUI, it is not possible any more to select the scroll direction of 
vertical and horizontal scroll.

Original issue reported on code.google.com by Linus.Seelinger on 22 May 2011 at 3:20

GoogleCodeExporter commented 8 years ago
Hi!

Now the scroll up/down actions are merged in the vertical scroll action, the 
direction is automatically selected in funtion of the direction of the drag.

Original comment by jose.exposito89@gmail.com on 22 May 2011 at 3:46

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
which works quite well, so far ;)

my actual problem is that currently, it scrolls in the same direction as the 
drag.
however, for touchscreens, the opposite behaviour is more intuitive (like the 
page itself is dragged with the fingers).

so, i suggest a possibility to invert the scrolling behaviour. (which could be 
achieved in version 0.2 by setting the mouse wheel movement direction as 
desired)

Original comment by Linus.Seelinger on 22 May 2011 at 7:09

GoogleCodeExporter commented 8 years ago
I haven't got a touchscreen to test, but is true, this is a big problem. I'll 
change it as soon as posible, adding a "Invert scroll" option.

Thanks for report!

Original comment by jose.exposito89@gmail.com on 22 May 2011 at 8:54

GoogleCodeExporter commented 8 years ago
Thanks, I will test it as soon as it's available.

Original comment by Linus.Seelinger on 23 May 2011 at 3:15

GoogleCodeExporter commented 8 years ago
Hi!

You can download and install the new code 
(https://code.google.com/p/touchegg/source/checkout) The configuration to 
invert the scroll is this:

TWO_FINGERS_DRAG_UP.ALL.action=SCROLL
TWO_FINGERS_DRAG_UP.ALL.settings=SPEED=7:INVERTED=true
TWO_FINGERS_DRAG_DOWN.ALL.action=SCROLL
TWO_FINGERS_DRAG_DOWN.ALL.settings=SPEED=7:INVERTED=true
TWO_FINGERS_DRAG_LEFT.ALL.action=SCROLL
TWO_FINGERS_DRAG_LEFT.ALL.settings=SPEED=7:INVERTED=true
TWO_FINGERS_DRAG_RIGHT.ALL.action=SCROLL
TWO_FINGERS_DRAG_RIGHT.ALL.settings=SPEED=7:INVERTED=true

You'll need to edit the configuration file (~/.touchegg/touchegg.conf) because 
the GUI will be available for the next release.

Greetings!

Original comment by jose.exposito89@gmail.com on 24 May 2011 at 10:56

GoogleCodeExporter commented 8 years ago
hi,

i installed this touchegg version and tried to alter my touchegg.conf as you 
described and restarted touchegg. Now, scrolling does not work at all.

that's what my touchegg.conf currently looks like (i only use vertical 
scrolling):

THREE_FINGERS_DRAG_UP.ALL.action=MAXIMIZE_RESTORE_WINDOW
tap_and_hold_time=0
general_settings.tap_and_hold_time=135
action=NO_ACTION
TWO_FINGERS_DRAG_LEFT.ALL.action=CLOSE_WINDOW
TWO_FINGERS_DRAG_DOWN.ALL.settings=SPEED=4:INVERTED=TRUE
TWO_FINGERS_DRAG_RIGHT.ALL.settings=HOLD_DOWN=:PRESS=F12
TWO_FINGERS_TAP.ALL.action=SEND_KEYS
TWO_FINGERS_DRAG_DOWN.ALL.action=VERTICAL_SCROLL
TWO_FINGERS_DRAG_UP.ALL.settings=SPEED=7:INVERTED=TRUE
TWO_FINGERS_PINCH.ALL.action=RESIZE_WINDOW
TWO_FINGERS_DRAG_RIGHT.ALL.action=SEND_KEYS
settings=
TWO_FINGERS_TAP.ALL.settings=HOLD_DOWN=:PRESS=F11
TWO_FINGERS_DRAG_UP.ALL.action=VERTICAL_SCROLL

Original comment by Linus.Seelinger on 25 May 2011 at 4:50

GoogleCodeExporter commented 8 years ago
Try with this configuration file, for me works fine:

general_settings.tap_and_hold_time=135

TWO_FINGERS_PINCH.ALL.action=RESIZE_WINDOW

TWO_FINGERS_DRAG_LEFT.ALL.action=CLOSE_WINDOW

TWO_FINGERS_DRAG_RIGHT.ALL.action=SEND_KEYS
TWO_FINGERS_DRAG_RIGHT.ALL.settings=HOLD_DOWN=:PRESS=F12

TWO_FINGERS_DRAG_UP.ALL.action=SCROLL
TWO_FINGERS_DRAG_UP.ALL.settings=SPEED=4:INVERTED=true

TWO_FINGERS_DRAG_DOWN.ALL.action=SCROLL
TWO_FINGERS_DRAG_DOWN.ALL.settings=SPEED=4:INVERTED=true

THREE_FINGERS_DRAG_UP.ALL.action=MAXIMIZE_RESTORE_WINDOW

TWO_FINGERS_TAP_AND_HOLD.ALL.action=SEND_KEYS
TWO_FINGERS_TAP_AND_HOLD.ALL.settings=HOLD_DOWN=:PRESS=F11

Greetings!

Original comment by jose.exposito89@gmail.com on 25 May 2011 at 5:29

GoogleCodeExporter commented 8 years ago
That configuration works perfectly, thanks!

By the way, my previous configuration was written exclusively by the touchegg 
GUI. As this file looks a little messy, maybe you could make sure that the GUI 
always writes a clean file like the one you posted?

Original comment by Linus.Seelinger on 25 May 2011 at 9:43

GoogleCodeExporter commented 8 years ago
I think that yes... But is possible that it has some bugs... I'll check it, 
thanks!

Original comment by jose.exposito89@gmail.com on 25 May 2011 at 9:50