let us go back to the need of the 3rd pipe here? You said "Yes. I want more reports per second, with legal tricks." Can you try to explain that in more detail. If I'm use standart 8 ms poll, and one endpoint - I'm have total 120 packets per second (report 1, report 2, report 1, report 2.....
ulao maybe you mistake. I have two virtual devices "Virtual_Joystick#1" and "Virtual_Joystick#2" each virtual joystick have report: "Virtual_Joystick#1" report buffer gamepad_report_1 gamepad_report_1.report_id=1; HID 0x85, 0x01, // REPORT_ID (1) "Virtual_Joystick...
Is there a reason you are trying to do this on its own pipe? Speed maybe? Yes. I want more reports per second, with legal tricks. If your going to do something like adding a pipe you need to define it in the config. config is made by "v-usb" engine. you can see my "USBLyser report&qu...
Rar File "V_USB_EP81_EP82.rar" usbconfig.h #define USB_CFG_HAVE_INTRIN_ENDPOINT3 1 /* Define this to 1 if you want to compile a version with three endpoints: The * default control endpoint 0, an interrupt-in endpoint 3 (or the number * configured below) and a catch-all default interrupt-in...
I'm confused by "Code is compiling without errors." do you mean the suggestion fixed the issue, or just that it compiles and you still have the endless loop? Nothing fixed. Code is compiling without errors. Firmware is uploaded to device, but program is freeze. But, if I hide //usbSendHid...
just a guess on the name here usbInterrup3tIsReady may not be the right name. usbdrv.h #if USB_CFG_HAVE_INTRIN_ENDPOINT3 USB_PUBLIC void usbSetInterrupt3(uchar *data, uchar len); #define usbInterruptIsReady3() (usbTxLen3 & 0x10) /* Same as above for endpoint 3 */ #endif Code is compiling withou...
Endless loop. usbInterruptIsReady3() usbSetInterrupt3() (sorry for my English, it is not native language) Hi, I make some explain: I want make joystick project with two virtual devices, and send reports: a) Virtual_Joystick#1 -> Report#1 -> EP81 b) Virtual_Joystick#2 -> Report#2 -> EP82 Every joyst...
Hi."USB_SOF_HOOK" - please give example or links to shared projects using this? /* #ifdef __ASSEMBLER__ * macro myAssemblerMacro * in YL, TCNT0 * sts timer0Snapshot, YL * endm * #endif * #define USB_SOF_HOOK myAssemblerMacro * This macro (if defined) is executed in the assembler module whe...
Hi, I try to make device with fully dynamical HID Report. 1) In "usbconfig.h" #define USB_CFG_DESCR_PROPS_HID_REPORT (USB_PROP_IS_DYNAMIC) 2) In "main.c" PROGMEM char usbHidReportDescriptor [200] = { /* USB report descriptor, size must match usbconfig.h */ 0x06, 0x00, 0xff, // US...