Missed in commit 61f6a7c.
Signed-off-by: Jason Gerecke <[email protected]>
---
src/wcmCommon.c | 2 +-
src/wcmISDV4.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index 65b0fe4..cab172d 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -1352,7 +1352,7 @@ int wcmInitTablet(InputInfoPtr pInfo, const char* id,
float version)
/* Send a soft prox-out event for the device */
void wcmSoftOutEvent(InputInfoPtr pInfo)
{
- WacomDeviceState out = { 0 };
+ WacomDeviceState out = OUTPROX_STATE;
WacomDevicePtr priv = (WacomDevicePtr) pInfo->private;
out.device_type = DEVICE_ID(priv->flags);
diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c
index a3acedd..1e1ffc1 100644
--- a/src/wcmISDV4.c
+++ b/src/wcmISDV4.c
@@ -720,7 +720,7 @@ static int isdv4ParsePenPacket(InputInfoPtr pInfo, const
unsigned char *data,
(ds->device_type == ERASER_ID))
{
/* send a prox-out for old device */
- WacomDeviceState out = { 0 };
+ WacomDeviceState out = OUTPROX_STATE;
wcmEvent(common, 0, &out);
ds->device_type = cur_type;
}
@@ -791,7 +791,7 @@ static int isdv4Parse(InputInfoPtr pInfo, const unsigned
char* data, int len)
if (last->proximity && last->device_id == TOUCH_DEVICE_ID)
{
/* let touch go */
- WacomDeviceState out = { 0 };
+ WacomDeviceState out = OUTPROX_STATE;
out.device_type = TOUCH_ID;
out.serial_num = 1;
wcmEvent(common, channel, &out);
--
1.9.3
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel