![]() |
|
[GCPad] HID Caps for Rumble - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Support (https://forums.dolphin-emu.org/Forum-support) +--- Thread: [GCPad] HID Caps for Rumble (/Thread-gcpad-hid-caps-for-rumble) |
[GCPad] HID Caps for Rumble - TheKrokodil - 05-18-2010 I'm trying to attach my Gamecube controller to my PC using an AVR and so far its working fine. The only task remaining is the rumble support - I can cause the controller to rumble via the AVR but have so far no Idea how to add it to the HID report. What values do I need for rumble, .. in my HID report so that the GCPad Plugin will recognize it? RE: [GCPad] HID Caps for Rumble - skid - 05-19-2010 I thought it was the driver that reads/writes the HID reports? The driver tells Dolphin that rumble capability is available. Dolphin does not read/write HID reports for the gamecube controllers. RE: [GCPad] HID Caps for Rumble - TheKrokodil - 05-19-2010 Quote:PROGMEM char usbDescriptorHidReport[67] = { Thats the HID report currently used by my device - I just cannot get the GCPad plugin to recognize any "output" device. Hmm.. RE: [GCPad] HID Caps for Rumble - TheKrokodil - 05-19-2010 Quote: 0xa1, 0x00, // COLLECTION (Physical) Using that code and HID-Test I can easily write the appropriate byte in the output report and the controller will start to rumble; however, Dolphin just won't recognize the given output control - The list of possible Motor "sources" is just empty. What is the easiest way to get Dolphin (or windows, for that matter) to recognize some sort of output-control @ joystick. What Usages[/quote]/Usagepages are required? RE: [GCPad] HID Caps for Rumble - Billiard26 - 05-19-2010 You might have more luck in some other forum. This is more of a Driver programming question. Dolphin uses a Constant Force Feedback effect in DirectInput to make gamepads rumble. It doesn't deal with HID reports of connected gamepads. RE: [GCPad] HID Caps for Rumble - TheKrokodil - 05-19-2010 Yeah, looks that way :/ How does it come that Dolphin shows my Keyboard LED's as possible outputs for the rumble function? As far as I know, those shouldn't register as force-feedback devices ^^ RE: [GCPad] HID Caps for Rumble - Billiard26 - 05-19-2010 (05-19-2010, 06:26 PM)TheKrokodil Wrote: Yeah, looks that way :/ For gamepads it uses force feedback effects for outputs. For keyboard it uses those 3 LEDs that I programmed in. :p RE: [GCPad] HID Caps for Rumble - TheKrokodil - 05-19-2010 Well..solved it - Not the best way though. I set the rumble feature to the SCROLL-LED and wrote a small 2nd app which forwards the state of the LED towards the HID output report. Not very elegant, but it works ^^ RE: [GCPad] HID Caps for Rumble - Morgenman - 01-21-2012 (05-19-2010, 10:27 PM)TheKrokodil Wrote: Well..solved it - Not the best way though. hello... i have been trying for a long time to get the rumble feature working ... no luck... ![]() i cannot seem to get dolphin to output anything... the capslock features are shown but the test does nothing to my lights is there any way you can pm me the 2nd app you made? cole |