Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 139 → Rev 140

/Riddim/evdev_handler.c
157,12 → 157,15
{
printf("%d type:%d code:%d val:%d \n",counter,ev[counter].type,ev[counter].code,ev[counter].value);
 
// if (ev[counter].type==EV_REL) evdev_rel_axis[ ev[counter].code]= ev[counter].value;
// for logitech problem
if (ev[counter].type==EV_REL) evdev_rel_axis[ ev[counter].code]= ev[counter].value;
if (ev[counter].type==EV_KEY) evdev_button[ ev[counter].code-256]= ev[counter].value;
}
for (counter=0;counter<10;counter++)
for (counter=0;counter<20;counter++)
printf("A%d %d -" , counter, evdev_rel_axis[counter] );
printf("\n");