Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. # Gestures
  2.  
  3. ## Virtual key codes:
  4.  
  5. * 3 keys: `0x33`
  6. * Ctrl key: `0x11`
  7. * Windows key: `0x5B`
  8. * Left arrow key: `0x25`
  9. * Right arrow key: `0x27`
  10.  
  11. > Switch virtual desktop: Ctrl + Win + Left or Right
  12.  
  13. * Switch to the left virtual desktop: `0x33115B25 (856775461)`
  14. * Switch to the right virtual desktop: `0x33115B27 (856775463)`
  15.  
  16. ## Editing the registry
  17.  
  18. * Page Down: `HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTPPlugIns\SynTP\20`
  19. * Left Arrow: `HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTPPlugIns\SynTP\25`
  20. * Right Arrow: `HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTPPlugIns\SynTP\26`
  21.  
  22. We are going to edit those entries.
  23.  
  24. 1. Instead of `Page Down` we are going to put an undefined (`0x3A-40`). So, edit the `KeySequence` and put `0x3A (58)`. Without this, you will see that `Enter` is pressed when you switch desktop.
  25. 2. Instead of `Left Arrow` we're gonna put a combination of `Ctrl + Win + Left` (Switch to the left virtual desktop). So, edit the `KeySequence` and put `0x33115B25 (856775461)`.
  26. 3. Instead of `Right Arrow` we're gonna put a combination of `Ctrl + Win + Right` (Switch to the right virtual desktop). So, edit the `KeySequence` and put `0x33115B27 (856775463)`.
  27.  
  28. There is a couple of places were you can edit the entries for three fingers gestures.
  29.  
  30. In my case, I have an HP Spectre x360, with Synaptics. I can find the configuration at `HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTP\Win10\3FingerGestures`. There are other possible places, just search for `3FingerGestures` key name and check that has ActionId 3, 7, and 11.
  31.  
  32. Then:
  33.  
  34. 1. In `ActionID3`(three fingers swipe right) put `0x19 (25)`.
  35. 2. In `ActionID7`(three fingers swipe left) put `0x1A (26)`.
  36. 3. In `ActionID11`(three fingers tap) put `0x14 (20)`.
  37.  
  38. Finally, you restart your device or run this command in powershell as administrator:
  39. ```bash
  40. Stop-Service "SyntpEnhService"; kill -name SynTPEnh; kill -name SynTPHelper; Start-Service "SynTPEnhService"
  41. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement