-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 2013-12-19 07:53, puredata@11h11.com wrote:
hi,
i am using a modified version of xinput (adding ";", leading 0 and
unbuffered) with pdsend (udp). i can now get my tablet
x,y,pressure,tilt in pd. a demo patch is included (showing a way
to parse xinput test data).
https://github.com/patricksebastien/xinputpdsend
the only problem is that i am using [shell] to execute the xinput |
pdsend and when quitting pd it hangs until killall xinput.
you might consider using UDP instead of TCP for sending data back to Pd.
UDP seems to be much more stable (esp. when it comes to broken
connections), and if you are only using localhost, the network
reliability should be a non-issue.
as for adding ";" and leading "0"; you might want to use sed
.
fgamsdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove -
http://www.enigmail.net/
iQIcBAEBCAAGBQJSsstDAAoJELZQGcR/ejb4zSUP/3T/56q+twjnGzXzjn3gaza4
D5uVmZ70iGEgG9JyFXx3vplTun7cE/MbEl1NUcU8Ig96s/aEEtVxLcHUmg4QI/S9
TZvsx2YMv7ElvQpz0yHAree2lv50rr0B/rst8EAzBvJ4NZWdCP48b85Y7YPmEaAF
Drs/DLeqF/O0cI5kJWPK1YG46HvdjAmygxxIpPFbpSmE9BPaxF23BCnCCu1CLaIo
wSAyrLyCgaMv8IJkKgkbZuaZ9PTLTQVzs33qkfgcw250FpZgfn5QcI5yL+7Z20Sf
Uh7H91/zFVO2dkFHqSvXuN6x5Q21sFQjChsFh8vzB/JRHNRNFC4Sz35aFBT3H+7P
9X9osJqKhHudQf5BOpOXMHJONhFagnPnU3CUtvWCoAhqGTxPm0772LhSm/OAsyRn
N9AzQW2Zb7ip8bbJs0MhZoe6GnBKwkYbMuM3ssH529CDnPhFZpJNVgjI43ldlknu
ast8sHSbKFIT8Bc5DJ2CyuhYDijanbHCJ8lTC54Il69t3hHeu0UYbeeSiXaFgQdW
uCGeSb+OvYbkq6zSiESM5Ri/7/HZacCdzQTM2c/VrzOjU5h+l3/7/P1M/dd/7SC1
S4FancfTm7/QpiKuaIS2r9GuNDjrU1im6NHTaClNrZrVwK7XGAuCL6qRrfRdwr8Z
o+O2CaRUE0uw+dRLwgMP
=ILUI
-----END PGP SIGNATURE-----