Parsing cnee output file

View: New views
2 Messages — Rating Filter:   Alert me  

Parsing cnee output file

by Han Loo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings,

My apologies in advance if this is the incorrect address for questions regarding xnee/cnee v3.02.

I am attempting to parse the cnee output file:

cnee --record -o /workspace/txstate/mouserec/cnee_021009.xns -smp --mouse --stop-key Shift_R

I'm aware that there is a '--human-printout' option, however for my project I need both the coordinates and timestamp of each mouse event... which leads me to my next question...

Considering that I'm relatively new to Linux, what is the resolution of the timestamp in the output file:

0,6,3092,953,0,0,0,337314548
0,6,3092,952,0,0,0,337314612
0,4,0,0,1,0,0,337314612
0,5,0,0,1,0,0,337314836
0,6,3092,951,0,0,0,337314892
0,6,3090,950,0,0,0,337315052

and is there documentation detailing what data is stored in each of the fields in the output file?

Thanks!
Han






_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel

Re: Parsing cnee output file

by Henrik Sandklef-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  7.4.3 Replay in the manual[1] talks about this

[1]: http://itupw056.itu.chalmers.se/xnee/doc/xnee.html

Han Loo wrote:

> Greetings,
>
> My apologies in advance if this is the incorrect address for questions
> regarding xnee/cnee v3.02.
>
> I am attempting to parse the cnee output file:
>
> cnee --record -o /workspace/txstate/mouserec/cnee_021009.xns -smp --mouse
> --stop-key Shift_R
>
> I'm aware that there is a '--human-printout' option, however for my project
> I need both the coordinates and timestamp of each mouse event... which leads
> me to my next question...

modify the code to fit your needs, it's free software

> Considering that I'm relatively new to Linux, what is the resolution of the
> timestamp in the output file:
>
> 0,6,3092,953,0,0,0,337314548
> 0,6,3092,952,0,0,0,337314612
> 0,4,0,0,1,0,0,337314612
> 0,5,0,0,1,0,0,337314836
> 0,6,3092,951,0,0,0,337314892
> 0,6,3090,950,0,0,0,337315052

msecs

> and is there documentation detailing what data is stored in each of the
> fields in the output file?


see above

> Thanks!
> Han
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xnee-devel mailing list
> Xnee-devel@...
> http://lists.gnu.org/mailman/listinfo/xnee-devel



_______________________________________________
Xnee-devel mailing list
Xnee-devel@...
http://lists.gnu.org/mailman/listinfo/xnee-devel