close
The Wayback Machine - https://web.archive.org/web/20200917031239/https://github.com/iberianpig/fusuma/issues/141
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinch in and out (3 fingers) gestures are reversed #141

Closed
homanw104 opened this issue Nov 10, 2019 · 2 comments
Closed

Pinch in and out (3 fingers) gestures are reversed #141

homanw104 opened this issue Nov 10, 2019 · 2 comments
Labels
Projects

Comments

@homanw104
Copy link

@homanw104 homanw104 commented Nov 10, 2019

Description:

  • It does the pinch in shortcut when I pinch out (3 fingers). So does the reverse.

  • The problem only happens with 3 fingers. 2 fingers pinch in/out gestures are working properly.

  • I've fix the problem temporarily by reversing the shortcuts in the configuration file.

My entire configuration file:

(Though I think It's just a minor bug :)

swipe:
  3:
    left:
      command: 'xdotool key super+Left'
    right:
      command: 'xdotool key super+Right'
    up:
      command: 'xdotool key super+Up'
    down:
      command: 'xdotool key super+Down'
  4:
    left:
      command: 'xdotool key alt+Shift+Tab'
      threshold: 0.5
      interval: 0.5
    right:
      command: 'xdotool key alt+Tab'
      threshold: 0.5
      interval: 0.5
    up:
      command: 'xdotool key ctrl+super+s'
    down:
      command: 'xdotool key ctrl+super+w'
pinch:
  2:
    in:
      command: 'xdotool key ctrl+plus'
      threshold: 0.1
    out:
      command: 'xdotool key ctrl+minus'
      threshold: 0.1
  3:
    in:
      command: 'xdotool key super+h'
      threshold: 0.7
    out:
      command: 'xdotool key super+Up'
      threshold: 0.7
  4:
    in:
      command: 'xdotool key super+d'
      threshold: 0.7
      interval: 1.5
    out:
      command: 'xdotool key super+d'
      threshold: 0.7
      interval: 1.5

threshold:
  swipe: 0.9
  pinch: 0.9	

interval:
  swipe: 0.9
  pinch: 0.9
@iberianpig iberianpig added this to Needs triage in Issues via automation Jan 6, 2020
@iberianpig iberianpig added bug question and removed bug labels Jan 6, 2020
@iberianpig
Copy link
Owner

@iberianpig iberianpig commented Jan 6, 2020

Hi, @homanw104

Could you try following config.yml?

If it works correctly, print PINCH-IN when you 2 or 3 fingers pinch-in gestures.
I tried this config.yml, but it has no problem.

pinch:
  2:
    in:
      # command: 'xdotool keydown ctrl click 4 keyup ctrl'
      command: 'echo ----PINCH--IN------'
    out:
      # command: 'xdotool keydown ctrl click 5 keyup ctrl'
      command: 'echo ----PINCH--OUT-----'
  3:
    in:
      command: 'echo ----PINCH--IN------'
    out:
      command: 'echo ----PINCH--OUT-----'
@stale
Copy link

@stale stale bot commented Mar 6, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 6, 2020
@stale stale bot closed this Mar 13, 2020
Issues automation moved this from Needs triage to Closed Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Issues
  
Closed
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.