case EVENT_CODE_SHUTTLE:
shuttle(value);
break;
+ case EVENT_CODE_HI_JOG: // redundant report of JOG value*120
+ break;
default:
fprintf(stderr, "jogshuttle(%d, %d) invalid code\n", code, value);
break;
if( first_time ) break;
continue;
}
- if( !ioctl(fd, EVIOCGRAB, 1) ) { // exclusive access
+ if( 1 || !ioctl(fd, EVIOCGRAB, 1) ) { // exclusive access
first_time = 0;
while( !done ) {
int ret = read(fd, &ev, sizeof(ev));