Closed lvlanson closed 4 years ago
When you say "disconnect" do you mean that the dongle (USB bluetooth adapter) is unplugged?
There is no bluetooth dongle attached to the notebook. The notebook uses its own bluetooth device. If I switch off bluetooth, disconnect the mouse via the laptop or switch off the mouse itself, touch pad indicator does not snap back to touchpad mode.
Okay, got it. Have you tried using the keyboard shortcut (Ctrl + Super + Alt + T)? The extension is not designed to work with in-built bluetooth devices.
That being said, I can try to make it compatible. Please tell me a bit more about the setup, I need:
N: Name=
and P: Phys=
lines from output for cat /proc/bus/input/devices
I: Bus=0005 Vendor=046d Product=b01a Version=0003 N: Name="MX Anywhere 2S Keyboard" P: Phys=D4:3B:04:9E:89:18 S: Sysfs=/devices/virtual/misc/uhid/0005:046D:B01A.0001/input/input15 U: Uniq=E5:00:B5:38:66:EB H: Handlers=sysrq kbd event14 B: PROP=0 B: EV=100013 B: KEY=1000000000007 ff800000000007ff febeffdfffefffff fffffffffffffffe B: MSC=10
I: Bus=0005 Vendor=046d Product=b01a Version=0003 N: Name="MX Anywhere 2S Mouse" P: Phys=D4:3B:04:9E:89:18 S: Sysfs=/devices/virtual/misc/uhid/0005:046D:B01A.0001/input/input16 U: Uniq=E5:00:B5:38:66:EB H: Handlers=mouse2 event15 B: PROP=0 B: EV=17 B: KEY=ffff0000 0 0 0 0 B: REL=1943 B: MSC=10 [touchpad-indicator.log]
I am getting a similar mouse with in-built bluetooth (ie. no usb dongle). I guess the extension can watch the state of currently connected bluetooth devices to detect disconnects and enable/disable the touchpad accordingly.
I verified this with the new hardware. When you disconnect the mouse (ie, toggle the hardware switch to 'off'), it should immediately be picked up by the laptop's Bluetooth. If that's not the case, it's and issue outside the extension's control. You can always use the toggle keys Ctrl + Super + Alt + T to force enable/disable the touchpad.
When disconnecting a bluetooth mouse (Logitech Anywhere 2s) Touchpad Indicator does not snap back to the touchpad mouse.