Project

General

Profile

Actions

Submit #2921

open

Allow moused to accept userland mouse events

Added by tautolog over 8 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Userland
Target version:
Start date:
06/10/2016
Due date:
% Done:

0%

Estimated time:

Description

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) 0001-Allow-moused-to-work-with-sysmouse-when-the-port-is-.patch trivial fix for moused tautolog, 06/10/2016 02:30 PM
scrollwheel.py (2.8 KB) scrollwheel.py example that maps a volume knob USB HID device to scrolling mouse events tautolog, 06/10/2016 02:31 PM
Actions

Also available in: Atom PDF