Closed the-darkvoid closed 6 years ago
Testing with my 4540s... The 4540s has an LED indicator for trackpad disables (lights up when disabled). That LED is not being updated when the trackpad is enabled/disabled with USB mouse unplug/plug. (the actual enable/disable of the trackpad is working though, the LED just doesn't reflect the change)
Will investigate.
Edit: (fixed) There were some missing calls to updateTouchpadLED.
Will merge + push build 2018-09-23 or earlier.
VoodooI2CHID can now listen for USB or Bluetooth HID devices connecting to the system.
If the device is found to be a pointer device (mouse, trackpad etc), this will disable the built-in trackpad automatically.
Both ApplePS2Mouse and ApplePS2SynapticsTouchPad, can use this with two new configuration values:
Besides the kext level configuration, the user preference from macOS is taken into account:
System -> Preferences -> Accessibility -> Mouse & Trackpad -> Ignore built-in trackpad when mouse or wireless trackpad is present
This deprecates VoodooPS2Daemon and additionally adds support for Bluetooth HID devices. Though with Bluetooth there can be a slight delay before the disconnection is detected and the touchpad re-enabled, hence its functionality is configurable.
Touchpad enabling and disabling via the PrtScr button works at any time.