Module driver:mouse - Mouse pseudo device driver
Mouse pseudo device driver. This provides the mouse/pointer driver infrastructure for RMoX. Device drivers that manage real pointer devices connect to mouse.backend. An application that wants to use the pointer device should connect to the mouse device. Applications can intercept pointer events by connecting to mouse.tap.
Requires:
Used: driver:usb-mouse driver:i8042 driver:ucb1400
Provides: interface:pointer
Index
-
Channel type
CT.POINTER.IMP- Pointer implementation channel-type-
Variable
events?- Events (from implementation) -
Variable
in!- Requests (to implementation) -
Variable
out?- Responses (from implementation)
-
Variable
-
Protocol
P.POINTER.IMP.EVENT- Pointer implementation event protocol-
Tag
abs.xy- Absolute movement: x, y -
Tag
bstate.change- Button state change (new state) -
Tag
packet- Raw data packet -
Tag
rel.xy- Relative movement: x, y
-
Tag
-
Protocol
P.POINTER.IMP.IN- Pointer implementation input protocol-
Tag
ioctl- I/O control capability -
Tag
set.packet.size- Changes raw packet size delivered (no result)
-
Tag
-
Protocol
P.POINTER.IMP.OUT- Pointer implementation output protocol-
Tag
result- General result (from I/O control)
-
Tag
Declarations
pointer.inc:24Protocol P.POINTER.IMP.IN
PROTOCOL P.POINTER.IMP.IN
Pointer implementation input protocol.
pointer.inc:26Tag ioctl
ioctl; INT; INT
I/O control capability.
pointer.inc:27Tag set.packet.size
set.packet.size; INT
Changes raw packet size delivered (no result).
pointer.inc:31Protocol P.POINTER.IMP.OUT
PROTOCOL P.POINTER.IMP.OUT
Pointer implementation output protocol.
pointer.inc:33Tag result
result; INT
General result (from I/O control).
pointer.inc:37Protocol P.POINTER.IMP.EVENT
PROTOCOL P.POINTER.IMP.EVENT
Pointer implementation event protocol.
pointer.inc:40Tag rel.xy
rel.xy; INT; INT
Relative movement: x, y.
pointer.inc:41Tag abs.xy
abs.xy; INT; INT
Absolute movement: x, y.
pointer.inc:42Tag bstate.change
bstate.change; INT
Button state change (new state).
pointer.inc:44Tag packet
packet; MOBILE []BYTE
Raw data packet.
pointer.inc:48Channel type CT.POINTER.IMP
CHAN TYPE CT.POINTER.IMP
Pointer implementation channel-type.
pointer.inc:50Variable in!
CHAN P.POINTER.IMP.IN
Requests (to implementation).
pointer.inc:51Variable out?
CHAN P.POINTER.IMP.OUT
Responses (from implementation).
pointer.inc:52Variable events?
CHAN P.POINTER.IMP.EVENT
Events (from implementation).