The prefix for all packets and capabilities should be
pointer
.
(older versions used the mouse
prefix)
| Component | Link | |-------------------|----------------------------------------------------------------------------------------------------------------| | client | xpra.client.subsystem.pointer | | client connection | xpra.server.source.pointer | | server | xpra.server.subsystem.pointer |
There is some platform specific code to handle mouse wheel.
Links pending.
The client should expose the following pointer
dictionary in its hello
packet:
| Capability | Value | Information |
|--------------------|---------------------------------|-------------------------------------------------------------------------------|
| initial-position
| x
and y
pair
of coordinates | Optional | | double_click
| dictionary |
contains just two integer attributes: time
(in
milliseconds) and distance
|
Alternatively, the client can just supply the value True
instead of the dictionary and the server will use default values.
| Packet Type | Arguments |
|--------------------|---------------------------------| |
pointer-position
| wid
, position data,
modifiers | | pointer-button
| device_id
,
sequence
, wid
, button
,
pressed
, position data, properties | |
input-devices
| |