syscl / XPS9350-macOS

macOS patches for Dell XPS 13 9350 (Skylake)
916 stars 74 forks source link

Trackpad not working properly #197

Open TheFancyDinosaur opened 6 years ago

TheFancyDinosaur commented 6 years ago

I noticed that with the last Deploy VoodooI2 kexts the trackpad is not working 100% properly. After changing some system configurations I can tap and scroll with two fingers. However, I am not able to click in any way and for some reason the two finger scrolling is pretty buggy since it detects two finger pinch zooming at random times, even though I disabled all other features except for tap and scroll only.

Have anyone else experienced the same thing?

Current Set Up: Dell XPS 13 (9350) QHD+ version. 2.4Ghz Intel Core i5 8gb Ram and 512gb Nvme SSD DW1830 Wi-Fi Card Mac OS X High Sierra 10.13.3 Installed.

se1ya commented 6 years ago

for me the trackpad are completely not working with this kext. i find a quickfix here #184 "Quick fix: Add the VoodooPS2Controller.kext back into the EFI Clover folder and reboot!"

aizigao commented 6 years ago

VoodooI2 use keys bind, if you change system default keys bind, you should modify like this

IN EFI Vlome

vim  VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist

find IOKitPersonalities->ApplePS2Keyboard->Platform Profile->Default->Custom PS2 Map/Custom ADB Map

change like blow

<key>Default</key>
<dict>
  <key>Action2FingersTap</key>
  <string>3b d, 37 d, 1c d, 1c u, 37 u, 3b u</string>
  <key>Action3FingersTap</key>
  <string>3b d, 37 d, 2 d, 2 u, 37 u, 3b u</string>
  <key>Action4FingersTap</key>
  <string>37 d, 3b d, 3 d, 3 u, 37 u, 3b u</string>
  <key>ActionSwipe4FingersDown</key>
  <string>37 d, 3b d, 26 d, 26 u, 37 u, 3b u</string>
  <key>ActionSwipe4FingersLeft</key>
  <string>37 d, 3b d, 25 d, 25 u, 37 u, 3b u</string>
  <key>ActionSwipe4FingersRight</key>
  <string>37 d, 3b d, 4 d, 4 u, 37 u, 3b u</string>
  <key>ActionSwipe4FingersUp</key>
  <string>37 d, 3b d, 28 d, 28 u, 37 u, 3b u</string>
  <key>ActionSwipeDown</key>
  <string>37 d, 3b d, 7d d, 7d u, 37 u, 3b u</string>
  <key>ActionSwipeLeft</key>
  <string>37 d, 1e d, 1e u, 37 u</string>
  <key>ActionSwipeLeftFromEdge</key>
  <string>3b d, 37 d, 1d d, 1d u, 37 u, 3b u</string>
  <key>ActionSwipeRight</key>
  <string>37 d, 21 d, 21 u, 37 u</string>
  <key>ActionSwipeRightFromEdge</key>
  <string>3a d, 37 d, 2 d, 2 u, 3a u, 3b u</string>
  <key>Breakless PS2</key>
  <array>
    <string>;Items must be strings in the form of breaklessscan (in hex)</string>
  </array>
  <key>Custom ADB Map</key>
  <array>
    <string>;Items must be strings in the form of scanfrom=adbto (in hex)</string>
    <string>3a=3b;caps to left ctrl</string>
    <string>1d=4f;left ctrl to f18</string>
  </array>
  <key>Custom PS2 Map</key>
  <array>
    <string>;Items must be strings in the form of scanfrom=scanto (in hex)</string>
    <string>e027=0;disable discrete fnkeys toggle</string>
    <string>e028=0;disable discrete trackpad toggle</string>
  </array>
  <key>HIDF12EjectDelay</key>
  <integer>250</integer>
  <key>LogScanCodes</key>
  <integer>0</integer>
  <key>Make Application key into Apple Fn key</key>
  <false/>
  <key>Make Application key into right windows</key>
  <true/>
  <key>Make right modifier keys into Hangul and Hanja</key>
  <false/>
  <key>SleepPressTime</key>
  <integer>0</integer>
  <key>Swap capslock and left control</key>
  <false/>
  <key>Swap command and option</key>
  <true/>
  <key>Use ISO layout keyboard</key>
  <false/>
  <key>alt_handler_id</key>
  <integer>3</integer>
</dict>

default keyMap is https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/blob/master/VoodooPS2Keyboard/ApplePS2ToADBMap.h