[DragonFlyBSD - Submit #2921] Allow moused to accept userland mouse events
sigttou
bugtracker-admin at leaf.dragonflybsd.org
Sat Oct 3 00:32:19 PDT 2026
Issue #2921 has been updated by sigttou.
I tested the attached patch with FIFO input. XY movement still works, and wheel events now arrive correctly, including negative movement and split packets. Level 0, level 1 and the default level work in these tests. Could it be applied?
----------------------------------------
Submit #2921: Allow moused to accept userland mouse events
http://bugs.dragonflybsd.org/issues/2921#change-14765
* Author: tautolog
* Status: New
* Priority: Normal
* Category: Userland
* Target version: 6.4
* Start date: 2016-06-10
----------------------------------------
Allow moused to work with sysmouse when the port is a pipe,
not a real mouse device with working ioctls. Allows simple userland injection
of mouse events.
Attached is an example that works with the Griffin PowerMate
https://www.amazon.com/Griffin-Technology-NA16029-Multimedia-Controller/dp/B003VWU2WA/
Just run `./scrollwheel.py scroller.fifo` as a user account, and then run `moused -p scroller.fifo -t sysmouse` as root.
If you press down the wheel, it will multiply scrolls by 32, so you can fly through code like in the movies.
---Files--------------------------------
0001-Allow-moused-to-work-with-sysmouse-when-the-port-is-.patch (1.41 KB)
scrollwheel.py (2.8 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Submit
mailing list