[Spice-devel] [PATCH] SPICE port basic implementation
Frediano Ziglio
fziglio at redhat.com
Mon Sep 26 12:54:56 UTC 2016
>
> ---
> enums.js | 11 +++++++-
> main.js | 5 +++-
> port.js | 85
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> spice.html | 50 +++++++++++++++++++--------------
> spice_auto.html | 12 +++++++-
> spicemsg.js | 24 ++++++++++++++--
> utils.js | 7 +++++
> 7 files changed, 168 insertions(+), 26 deletions(-)
> create mode 100644 port.js
>
> diff --git a/enums.js b/enums.js
> index 3ef36dc..b6e013c 100644
> --- a/enums.js
> +++ b/enums.js
> @@ -166,6 +166,15 @@ var SPICE_MSG_PLAYBACK_VOLUME = 105;
> var SPICE_MSG_PLAYBACK_MUTE = 106;
> var SPICE_MSG_PLAYBACK_LATENCY = 107;
>
> +var SPICE_MSG_SPICEVMC_DATA = 101;
> +var SPICE_MSG_PORT_INIT = 201;
> +var SPICE_MSG_PORT_EVENT = 202;
> +var SPICE_MSG_END_PORT = 203;
> +
> +var SPICE_MSGC_SPICEVMC_DATA = 101;
> +var SPICE_MSGC_PORT_EVENT = 201;
> +var SPICE_MSGC_END_PORT = 202;
> +
> var SPICE_PLAYBACK_CAP_CELT_0_5_1 = 0;
> var SPICE_PLAYBACK_CAP_VOLUME = 1;
> var SPICE_PLAYBACK_CAP_LATENCY = 2;
> @@ -264,7 +273,7 @@ var SPICE_MOUSE_BUTTON_MASK_LEFT = (1 << 0),
> SPICE_MOUSE_BUTTON_MASK_MIDDLE = (1 << 1),
> SPICE_MOUSE_BUTTON_MASK_RIGHT = (1 << 2),
> SPICE_MOUSE_BUTTON_MASK_MASK = 0x7;
> -
> +
> var SPICE_MOUSE_BUTTON_INVALID = 0;
> var SPICE_MOUSE_BUTTON_LEFT = 1;
> var SPICE_MOUSE_BUTTON_MIDDLE = 2;
Could you split the styles/spaces changes into a separate patch ?
Frediano
More information about the Spice-devel
mailing list