🍅 automatoes.com

Use Keys as Mouse Buttons When Using a Trackpad

With the karabiner multitouch extension, your fingers are detected on the trackpad and your keyboard keys can be used as button clicks.

For example:

  • while 1 finger is on the trackpad
    • "f" key triggers a "left click"
    • "d" key triggers a "shift left click"
  • while 2 fingers on the trackpad
    • "f" key triggers a "right click"
    • "v" key "left clicks" then pastes the clipboard content
{:des "multitouch"
    :rules [;
        :multitouch_extension_finger_count_total
            [:f :button1]
            [:d {:pkey :button1 :modi :left_shift}]
        [:condi ["multitouch_extension_finger_count_total" 2]]
            [:f :button2]
            [:v [:button1 :!Cv]]

Tags:

Contributor: [John Lindquist]

Referred in

edit
Use Keys as Mouse Buttons When Using a Trackpad