Hardware Reference
In-Depth Information
415 if ( last.c_button != data.c_button ) {
416 uinput_click(fd,data.c_button,4);
417 need_sync = 1;
418 }
419
420 if ( need_sync )
421 uinput_syn(fd);
422 last = data;
423 }
424
425 putchar('\n');
426 uinput_close(fd);
427 i2c_close();
428 return 0;
429 }
430
431 /
End nunchuk.c
/
Search WWH ::




Custom Search