Signed-off-by: Matthew Francis <mjay.francis@xxxxxxxxx> --- spice/enums.h | 2 ++ spice/vd_agent.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/spice/enums.h b/spice/enums.h index c6de125..96ad050 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -347,6 +347,8 @@ typedef enum SpiceMouseButton { SPICE_MOUSE_BUTTON_RIGHT, SPICE_MOUSE_BUTTON_UP, SPICE_MOUSE_BUTTON_DOWN, + SPICE_MOUSE_BUTTON_WHEEL_LEFT, + SPICE_MOUSE_BUTTON_WHEEL_RIGHT, SPICE_MOUSE_BUTTON_ENUM_END } SpiceMouseButton; diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 7109ede..c467066 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -171,6 +171,8 @@ typedef struct SPICE_ATTR_PACKED VDAgentDisplayConfig { #define VD_AGENT_RBUTTON_MASK (1 << 3) #define VD_AGENT_UBUTTON_MASK (1 << 4) #define VD_AGENT_DBUTTON_MASK (1 << 5) +#define VD_AGENT_WLBUTTON_MASK (1 << 6) +#define VD_AGENT_WRBUTTON_MASK (1 << 7) typedef struct SPICE_ATTR_PACKED VDAgentMouseState { uint32_t x; -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel