Hi. I have a doubt with messages and maybe someone can help me.
Imagine I have got something like this:
[stdbuf -o0 xinput test 1(
It shows my x/y mouse coordinates I received from xinput using [shell] on linux.
a=x and a=y
So, sometimes I receive (the numbers are only examples) "[a=400(" and another "[a=400("
Is there any way for separate those two x y values from that final message?
For to be more specific I want extract x y coordinates (only the numbers) from that message.
Edit: I have simplify the patch, it was some convoluted.
Thanks a lot!