microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.29k stars 6.5k forks source link

[Run] Open with a touchpad / touchscreen gesture #4484

Open raphaelfreeman opened 4 years ago

raphaelfreeman commented 4 years ago

would be nice if I could launch using the Touchpad settings for Taps with Three-finger gestures.

dentistfrankchen commented 4 years ago

well i can give you some hints... if what you want is using three fingers single tap to do something, you can consider bind a hot key with 3 fingers single tap in the touchpad settings, then use python to monitor whether this hotkey is pressed, then trigger something...

dentistfrankchen commented 4 years ago

pynput could monitor whether a hotkey is pressed.

dentistfrankchen commented 4 years ago

I also figured out how to use three fingers double tap to trigger something with touchpad setting+pynput.

raphaelfreeman commented 4 years ago

so I found a solution: there is the option to select a shortcut key under Advanced gesture configuration.

dentistfrankchen commented 4 years ago

yes,that's what I mean(sorry i did not describe this part)

Jay-o-Way commented 4 years ago

Lately I commented on #6436 and I learned that you can specify a hotkey for any of the four directions (and one for a single tap) when using three fingertips. So if you would use Alt+Space - or whatever combination you have set for Run - then it will trigger Run. 😁

Window 1: three finger touchpad (1) Window 2: three finger touchpad (2)

chongyunxiang commented 4 years ago

How do I get to the gesture page? I don't see it in the PowerToys settings, and I don't see any options for Advance settings.

Jay-o-Way commented 4 years ago

@chongyunxiang Windows Settings > Touchpad > Advanced configuration

chongyunxiang commented 4 years ago

Oh, windows settings, thanks! Is it possible to have a shortcut for Task View? 3 fingers down will activate Task View, but I want to activate that using F4 button.

Jay-o-Way commented 4 years ago

The default keyboard combination is Win+Tab, so if you re-map F4 to this hotkey - using PT Keyboard Manager - it should work. But be aware: If you only re-map this key, you will not be able to use it in other combinations! For example Alt+F4 to close a window.

chongyunxiang commented 4 years ago

I've tried to remap it, but under the remap key, I can only press 1 key at a time, so I'm unable to remap combination keys. If I use remap shortcut, I'll be able to select 2 key combinations, but the targeted app doesn't seem to be able to target a function like Task View. Am I doing it wrongly?

Jay-o-Way commented 4 years ago

I've tried to remap it, but under the remap key, I can only press 1 key at a time, so I'm unable to remap combination keys.

@chongyunxiang Use the Type button and you can press combinations. image

chongyunxiang commented 4 years ago

Yes, I did that, press and hold the buttons but it did not show both. I'm unable to have it select both keys, only 1 key at a time, even when I'm pressing both.

Jay-o-Way commented 4 years ago

Yes, I did that, press and hold the buttons but it did not show both. I'm unable to have it select both keys, only 1 key at a time, even when I'm pressing both.

@chongyunxiang make sure that F4 is under "Key" and Win+Tab is under "mapped to". If it really does not work, you should create a new issue and mention this, because that is a bug. We are now in a different issue from a different person. Sorry @raphaelfreeman