good news - i figured why the data rate was limited to 10 Hz
communication between the server and the client is done over stdin / stdout
apparently buffering and polling happens around 10 times per second ( in Daz or in Windows )
if the report rate from the server is over 10 Hz, sometimes
the client (script) will receive more than 1 status report at a time.
in the previous version of the script, those reports were thrown out for fear of being corrupt
the next version of the script will instead unpack them and feed them to the part of the script that processes them
just now i tested 30 Hz data rate
at 60 Hz i still get some “misses”, say, 1 miss per second
actually the image below isnt a valid test, by mistake i re-launched the server after changing the data rate to 30 !
but it gives you a glimpse of an upcoming script that will use the HIDServer to pilot a camera or a car
Click thumbnail to see full-size image