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

4-finger multi touch disables trackpad #40

Open
WTanardi opened this issue Apr 28, 2022 · 12 comments
Open

4-finger multi touch disables trackpad #40

WTanardi opened this issue Apr 28, 2022 · 12 comments

Comments

@WTanardi
Copy link

I'm using a laptop, and whenever epkl is open and I use the 4-finger tap gesture to bring up my notifications panel, it disables the trackpad and I have to click F6 (the laptop's lock trackpad key) to re-enable it

@DreymaR
Copy link
Owner

DreymaR commented Apr 28, 2022

I don't know what the "4-finger tap gesture" you're referring to, is?

@WTanardi
Copy link
Author

image

This right here

@DreymaR
Copy link
Owner

DreymaR commented Apr 28, 2022

Oddness. Can you use the AHK Key History (from the EPKL menu) to gain any more insights as to what happens when you tap the four-finger gesture?

Does the three-finger tap gesture still work as expected?

And would it help if you just disable the tap-gesture? You could for instance put notification center on swipe-down instead and use an EPKL shortcut to show the desktop instead.

@WTanardi
Copy link
Author

WTanardi commented Apr 29, 2022

The history looks like this

image

Does the three-finger tap gesture still work as expected?

image

This is what happens when I do the 3 tap gesture, It opens the projection settings window

image

And would it help if you just disable the tap-gesture? You could for instance put notification center on swipe-down instead and use an EPKL shortcut to show the desktop instead.

For the suggested workaround, I'd rather still keep my default shortcut's as they are already implanted in my muscle memory

@loopernow
Copy link

This is what happens when I do the 3 tap gesture, It opens the projection settings window

Yes! This is happening to me too.

image

@dfrvfmst
Copy link

dfrvfmst commented Jun 5, 2023

I use Colemak eD2VK ISO layout (Same issue occurs with VK layout). CapsLock behavior is Extend key. Mapping type is set to Tap-or-Mod (QWCLK = vcBSP/Ext VKey)

With a Precision Trackpad (that you can configure touchpad gesture directly in system settings):

  • 3-finger tap while holding CapsLock down brings up Project settings
  • 4-finger tap while holding CapsLock down disables touchpad

@dfrvfmst
Copy link

dfrvfmst commented Jun 5, 2023

Relevant comment: microsoft/PowerToys#3703 (comment)

@DreymaR
Copy link
Owner

DreymaR commented Jun 5, 2023

Relevant comment: microsoft/PowerToys#3703 (comment)

Although not visible to the user, these gestures are made up of keys. For example, the three finger tap gesture uses the following keys: Ctrl Left + Shift Left + Win Left + F22, so when you remapped the Ctrl / Alt keys it could no longer access left Ctrl.

Sooo... If I understand this right, the gesture may send LCtrl + LShift + LWin + F22, and remapping/hooking any of these keys may cause the gesture mapping to fail.

By default, neither LWin nor LCtrl are mapped by EPKL. But LShift is, which allows its use as an EPKL Sticky Shift key.

QWLSH = LShift Modifier ; SC02a: Maps LShift to itself (allows Extend and sticky mods)

If you prefer to keep your gestures, you'll have to forgo EPKL's LShift mapping then (comment it out with a semicolon, or unset it in an Override file). Personally, I'd rather disable the gestures and keep Sticky Shift which I consider much more useful.

@dfrvfmst
Copy link

dfrvfmst commented Jun 6, 2023

Off-topic: Sticky Shift causes Alt-Tab switcher to become "sticky".

  • Open Alt-Tab switcher by pressing Alt + Tab and holding Alt down
  • Quickly tap Shift + Tab and then release it, immediately followed by continuously tapping Tab

Expected result:

Highlight changes to the previous one as Shift + Tab is pressed, then to the next one following Tab taps.

Actual result:

Highlight changes to the previous one as Shift + Tab is pressed, then still to the previous one for the first few Tab taps, then finally it changes to the next one following Tab taps.

@dfrvfmst
Copy link

dfrvfmst commented Jun 6, 2023

Appears to be fixed by adding QWLSH = System ; to the [layout] section of EPKL_Layouts_Override.ini.

Disabling Sticky Shift (stickyMods = ;) or Shift remapping (QWLSH = System ;) seems to still trigger the buggy behavior sometimes, although less frequently.

You have to comment QWLSH = LShift Modifier in EPKL_Layouts_Default.ini. Attempting to override it in EPKL_Layouts_Override.ini doesn't seem to work:

  • QWLSH = System ; (Doesn't work; buggy behavior still triggers)
  • QWLSH = ; (Doesn't work; LShift stops working completely)
  • QWLSH =; (Doesn't work; Nothing gets overridden)
  • QWLSH = (Doesn't work; Nothing gets overridden)

@DreymaR
Copy link
Owner

DreymaR commented Jun 6, 2023

Your three last attempts are bad syntax, and the first one is not a disabling of its mapping but the addition of a "System" key mapping. But as long as you got one to work, that's fine.

Off the top of my head, I think that QWLSH = -- should work.

As for your sticky Shift vs Tab observation: Yes, since the Tab key is not mapped by EPKL (to avoid messing with Alt-tabbing and suchlike) the Tab key will not cancel the sticky Shift timer so it remains sticky until the timer runs out. If you wish to use a combo of Shift+Tab and normal Tab, you have to hold down the Shift key a little so it becomes a normal switch-type Shift. You can hold Shift, then tap Tab as many times as you wish, then release Shift and keep tapping Tab.

@dfrvfmst
Copy link

dfrvfmst commented Jun 7, 2023

QWLSH = -- ; appears to completely disable LShift, same as QWLSH = ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants