/*
Copyright (C) 2009 Red Hat, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see .
*/
#ifndef _INPUTS_CHANNEL_H_
#define _INPUTS_CHANNEL_H_
// Inputs channel, dealing with keyboard, mouse, tablet.
// This include should only be used by reds.c and inputs_channel.c
#include
#include
void inputs_init(void);
int inputs_inited(void);
int inputs_has_tablet(void);
const VDAgentMouseState *inputs_get_mouse_state(void);
void inputs_on_keyboard_leds_change(void *opaque, uint8_t leds);
int inputs_set_keyboard(SpiceKbdInstance *_keyboard);
int inputs_set_mouse(SpiceMouseInstance *_mouse);
int inputs_set_tablet(SpiceTabletInstance *_tablet);
void inputs_detach_tablet(SpiceTabletInstance *_tablet);
void inputs_set_tablet_logical_size(int x_res, int y_res);
#endif
`؍o><
xdf\!$`]s)jI
bS|_%f;
gpN\y6
/V,W24$ &4Y'5Sh
א@ΓWQv/uEPa tXWLR\u Z2K\n0d]MFLel
ܕ+զC>)vz>t"_%KV'&BOBuKA_4( P
Qf
k@ds~xI2j |9ʧ'EV- sw&4!k%/}\hrQ[iJYFYXWP(ȷ>zc{^,(I dna WEqfޖE-敓)N<~"XL0ȹz-'ӡ(myC9ɟ_[-= ug[ =C8rB68d e ]U$P{GGhz4VLO"pQVXI\J,bI85N+]
o?wD ^$%.-}uIN߷QXkW/ƐJ<pT}萲*9N+G;]OK7Ȗ:* y( ,WHUSa,HBϸ@@ޅ&KsIX;LȼFmMrm8ޮ,9s}#݁,D_hI
^g*}D 4vRE00\Ք,e|&&z !jOxud4|θܥ{y9➔3N9ClDq1l<j`[=0Y uMঞBM=4`x17So a)yUv m
|&m>oI肶
d
lRCONnv
d{-_}sN/nzyHcL¨ RPH9'ewiVȣgj)UjĒujfںFW~y>kOs
y3zJ7yuF**ݍwd×V13~{/쐑uoP[_"+elnMSa a($᪥Re7FΜ7 >g<Of*54IfdymtavET?ܤ/խJhgKܖV
E]0
a\gBwݫT,I`Rz]ǑqAʱ]CsQCqQ4зU(Dv['1i߈x-G,0LXjHY[VyOl+U6υsmTHz#7T#uw*LAA&sb"Ha2
gEX8V1Å0)/ekߢ:3nZz7-IRnf1e䞦S!K>}l\Ϲy 3Gł?&IJe[IK1apoT+1a=\lSG(' ؓ]Wޖ@պ["=adWa黆
\_UBR-˘?8ZlQ\\?hOY7