Search found 2 matches

by frampy
Wed Aug 28, 2013 3:09 am
Forum: V-USB
Topic: SOLVED: How to send mulitple reports over one interrupt endp
Replies: 2
Views: 4682

Re: How to send mulitple reports over one interrupt endpoint

I figured out why the code gets stuck in the loop waiting for usbInterruptIsReady() to return true. The OS I'm using (Linux) won't poll the USB device unless there is a program actually using the device. In my case I'm running the following command to poll the device. jstest --event /dev/input/js0 W...
by frampy
Tue Aug 27, 2013 11:07 am
Forum: V-USB
Topic: SOLVED: How to send mulitple reports over one interrupt endp
Replies: 2
Views: 4682

SOLVED: How to send mulitple reports over one interrupt endp

I've been building a USB joystick controller for use in an arcade machine using V-USB. I've setup my report descriptor to contain two different reports using the REPORT_ID field (one for each player on tha machine). I can send a report for each of the players individually, like so. if (TCNT0 > 47) /...