BigBagKbdTrixPKL icon indicating copy to clipboard operation
BigBagKbdTrixPKL copied to clipboard

4-finger multi touch disables trackpad

Open WTanardi opened this issue 2 years ago • 12 comments

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

WTanardi avatar Apr 28 '22 05:04 WTanardi

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

DreymaR avatar Apr 28 '22 11:04 DreymaR

image

This right here

WTanardi avatar Apr 28 '22 13:04 WTanardi

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.

DreymaR avatar Apr 28 '22 15:04 DreymaR

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

WTanardi avatar Apr 29 '22 04:04 WTanardi

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

loopernow avatar May 05 '23 03:05 loopernow

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 avatar Jun 05 '23 00:06 dfrvfmst

Relevant comment: https://github.com/microsoft/PowerToys/issues/3703#issuecomment-638232708

dfrvfmst avatar Jun 05 '23 04:06 dfrvfmst

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. https://github.com/DreymaR/BigBagKbdTrixPKL/blob/d7023cd0ef1887b1b76d98089bd553f8858d36d5/EPKL_Layouts_Default.ini#L191

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.

DreymaR avatar Jun 05 '23 12:06 DreymaR

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 avatar Jun 06 '23 00:06 dfrvfmst

~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)

dfrvfmst avatar Jun 06 '23 04:06 dfrvfmst

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.

DreymaR avatar Jun 06 '23 13:06 DreymaR

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

dfrvfmst avatar Jun 07 '23 04:06 dfrvfmst