Hi Henrik Sandklef,

I'm having a problem when recording X events in which an XI device is used.

The xnee code is eliminating some of the events from the recording which causes 
the replay not to work properly.  I ran the recording with the -verbose option 
to get an idea as to what is happening and here is a snippet of the output:

handle xi:: dev-id130 type:83    valuator not printed 1 / 2
handle xi:: dev-id134 type:81  7,4,0,0,1,0,0,88561670,134,
  valuator not printed 1 / 2
WARNING: Enough valuators,but non motion/button event (4) so not printing
handle xi:: dev-id130 type:81  7,4,0,0,1,0,0,88561670,130,p@-
  valuator not printed 1 / 2
WARNING: Enough valuators,but non motion/button event (4) so not printing
--- xnee_record_async() loop
0,28,0,0,0,0,0,88561675
0,28,0,0,0,0,0,88561675
--- xnee_record_async() loop

The problem is that the when the xnee code in the libxnee/src/xnee_xinput.c:380 
is encountered it puts out the WARNING above and does not record the button 
press.  The strange thing is that the warning has to do with  valuators (which 
are associated with motions on motion devices) but I'm not sure that the event 
is a valuator event.  I don't  fully understand how this is determined in the 
xnee_input.c:331 statement:

else if ( event_type == event_base)
                {
                                /* printf (" -:: SAME ::- "); */

                                /*
                                *
                                *  DaviceValuator event
                                *
                                */

But I do know that since these events are not recorded the playback does not 
work correctly.  Is this a bug or is there a manner in which I can make this 
work?  Any help/suggestions would be greatly appreciated.

Dominique Van Rafelghem
DTI Software
Lake Forest, CA

_______________________________________________
Bug-xnee mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-xnee

Reply via email to