[Spice-devel] [RFC PATCH spice-common v2 02/20] A version 2 of the MousePosition message

Frediano Ziglio fziglio at redhat.com
Mon Aug 27 16:13:47 UTC 2018


> 
> Hi,
> 
> > +typedef struct SpiceMsgcMousePositionV2 {
> > +    uint32_t x;
> > +    uint32_t y;
> > +    uint32_t buttons_state;
> > +    uint32_t channel_id;
> > +    uint32_t monitor_id;
> > +} SpiceMsgcMousePositionV2;
> 
> When touching the mouse messages anyway I'd suggest to design it more
> like the linux input layer events (or qemu input subsystem, which was
> inspiried by the linux input layer too).
> 
> cheers,
>   Gerd
> 

Designing a multi-OS protocol on a specific OS seems to me a design
mistake. I would prefer to design it looking at existent hardware
or designing looking at multiple OSes.

Frediano


More information about the Spice-devel mailing list