Closed wonx closed 5 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.94. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I believe I'm running into this as well. I have a Apple Magic Trackpad and it doesn't connect and function like a Trackpad normally would until after I click it a couple times. After this it initializes and connects to the bluetooth and it starts to function normally. This happens after every restart. Fusuma startup applications command doesn't seem to work, unless I manually run fusuma -d
directly in the terminal every time.
I have fusuma to launch when I start my session, so what I usually do, is make sure the trackpad connected at the login screen. Otherwise, I have to manually restart the service.
Could you check libinput debug-events
detect the event to connect a new device?
If libinput can catch the event, we should implement it to reload fusuma only when detecting a new device.
Yes, libinput debug-events
detects when the trackpad is connected for the first time. It shows the following:
-event18 DEVICE_ADDED Apple Wireless Trackpad seat0 default group13 cap:pg size 132x112mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfing
I get something similar:
-event19 DEVICE_ADDED {MY NAME} Trackpad seat0 default group7 cap:pg size 132x112mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Can it be reopened?
I setup an alias: alias swipe="fusuma -d"
Not ideal but, gets the job done.
It seems to be the same issue.
I will implement this feature in lib/fusuma/plugin/filters/libinput_device_filter.rb
.
I think that fusuma should reload @keep_device_ids
when it detects DEVICE_ADDED
in the record.
@wonx @Natetronn Please try version 1.2.1. If you have a any problem, please reopen.
Thank you for this!
That seems to have addressed it for me. I restarted the computer, after login I clicked on my touchpad to get it to register, trackpad starts working with mouse movements, opened a website and navigated through a couple of pages, then I swiped both ways and it worked fine. I have fusuma -d in startup applications, as was the case before.
I'll give it a few days of playing around to fully confirm but, on first go, it seems to be working.
P.s. I ran sudo gem install fusuma
to update but, not sure that was the proper way.
Describe the bug I am not really sure if it's a bug or not.
Gestures in bluetooth trackpads (like Apple's Magic trackpad) are not recognized if fusuma is started before the device is paired.
To Reproduce Steps to reproduce the behavior:
sudo killall fusuma
andfusuma
once again.Expected behavior fusuma should detect new trackpad devices connected after it has been launched.
Versions You can get this information from copy and paste the output of
fusuma --version
from the command line. Also, please include the OS and what version of the OS you're running.