waycrate / swhkd

Sxhkd clone for Wayland (works on TTY and X11 too)
https://git.sr.ht/~shinyzenith/swhkd
BSD 2-Clause "Simplified" License
676 stars 47 forks source link

Mouse event uinput emit #147

Closed Shinyzenith closed 1 year ago

Shinyzenith commented 2 years ago

@EdenQwQ With this, even if a mouse gets grabbed, the uinput device will re-emit it's signals.

I have written button detection, mouse movement is still a todo, would you mind taking a look?

EdenQwQ commented 2 years ago

Thats what we need. I'll do some tests soon. Maybe we should mention the ones with this issue here.

EdenQwQ commented 2 years ago

@Shinyzenith I used pkexec swhkd -c ~/.config/wayfire/swhkdrc -D "SYNA1D31:00 06CB:CD48 Touchpad" and pkexec swhkd -c ~/.config/wayfire/swhkdrc -D "HUAWEI Mouse" to test with my touchpad and mouse(which is connected through bluetooth). And the cursor is still not responding in both cases.

Shinyzenith commented 2 years ago

@Shinyzenith I used pkexec swhkd -c ~/.config/wayfire/swhkdrc -D "SYNA1D31:00 06CB:CD48 Touchpad" and pkexec swhkd -c ~/.config/wayfire/swhkdrc -D "HUAWEI Mouse" to test with my touchpad and mouse(which is connected through bluetooth). And the cursor is still not responding in both cases.

As mentioned above, cursor movement hasn't been patched in yet.. btn_left and btn_right have tho, so your primary buttons will work

Shinyzenith commented 1 year ago

Closed in favor of https://github.com/waycrate/swhkd/pull/163