Skip to content

Commit

Permalink
Fix Vivaldi Back and Forward Touchpad Gestures
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Dec 16, 2020
1 parent 3ea8d1f commit b7d5789
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app_handling.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,23 @@ CapsLock & v::

Clipboard := ClipSaved ; Restore Clipboard
}




;-------------------------------------------------
; Fix Vivaldi Gestures
;
; The problem with Vivaldi is that on "3 finger swipe" left and right touchpad gestures,
; Vivaldi executes the Browser_Forward and Browser_Back actions both on key up and on key down.
; Therefore the solution is simple: don't send key down events to Vivaldi

; Browser_Back via 3 finger swipe to right
sc16A::Return
sc16A Up::SendInput !{Left} ; This sends Alt+Left
sc06A::Return
sc06A Up::SendInput !{Left} ; This sends Alt+Left

; Browser_Forward via 3 finger swipe to left
sc069::Return
sc069 Up::SendInput !{Right} ; This sends Alt+Right

0 comments on commit b7d5789

Please sign in to comment.