[prev in list] [next in list] [prev in thread] [next in thread]
List: g15tools-commits
Subject: [G15tools-commits] SF.net SVN: g15tools: [269] trunk/libg15/libg15.c
From: mlampard () users ! sourceforge ! net
Date: 2007-11-25 3:29:07
Message-ID: E1Iw8B9-0004sO-4J () sc8-pr-svn3 ! sourceforge ! net
[Download RAW message or body]
Revision: 269
http://g15tools.svn.sourceforge.net/g15tools/?rev=269&view=rev
Author: mlampard
Date: 2007-11-24 19:29:06 -0800 (Sat, 24 Nov 2007)
Log Message:
-----------
Ensure retry on invalid packets for 5byte.
Modified Paths:
--------------
trunk/libg15/libg15.c
Modified: trunk/libg15/libg15.c
===================================================================
--- trunk/libg15/libg15.c 2007-11-25 03:28:09 UTC (rev 268)
+++ trunk/libg15/libg15.c 2007-11-25 03:29:06 UTC (rev 269)
@@ -704,14 +704,14 @@
pthread_mutex_unlock(&libusb_mutex);
if(g15DeviceCapabilities() & G15_DEVICE_5BYTE_RETURN) { /* new 5byte protocol */
+ if (buffer[0] == 1)
+ return G15_ERROR_TRY_AGAIN;
if (ret == 5) {
processKeyEvent5Byte(pressed_keys, buffer);
return G15_NO_ERROR;
}
- if (buffer[0] == 1)
- return G15_ERROR_TRY_AGAIN;
}
else
{
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
G15tools-commits mailing list
G15tools-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/g15tools-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic