Mouse¶
Description¶
A mouse is the most common tool for controlling events on a computer.
DOF continuous: 2-3
DOF discontinuous: 2-7
Namespace¶
Raw¶
Data from the mouse are typically returned in screen pixels with origo in the upper left corner of the screen. Often you also get information about relative position.
/position ii /position/delta ii /scroll i /button/left i /button/right i /button/middle i /button/side/left/up i /button/side/left/down i /button/side/right i /button/top i
Cooked¶
This is quite similar to raw, only normalized and reoriented.
/position ff /position/delta ff /scroll f /button/left i /button/right i /button/middle i /button/side/left/up i /button/side/left/down i /button/side/right i /button/top i