Not seeing any rumble events
Posted: Mon Feb 29, 2016 2:23 am
I'm using a DIY adapter with a DS4, controlled by Window Events, and everything is pretty awesome as-is.
But I can't figure out how to get rumble data. Even when I use the DS4 attached to the PC with the DualShock4.xml profile, I don't get any rumble. I also tried attaching an Xbox 360 controller, and don't get any rumble there either.
In the source, I added some printfs to adapter.c/adapter_process_packet to print out any incoming reports (BYTE_OUT_REPORT), and I don't see any. All I see is these 0x44-type packets. When I go to Device settings on the PS4, I see the checkbox for Vibration checked, but disabled (along with Mic and LED level).
My end-goal is to actually read the rumble state of the DIY adapter from the separate application sending Window Events. To do that I'm just going to do a quick hack - add a static global that I can read from in an external process.
But I can't figure out how to get rumble data. Even when I use the DS4 attached to the PC with the DualShock4.xml profile, I don't get any rumble. I also tried attaching an Xbox 360 controller, and don't get any rumble there either.
In the source, I added some printfs to adapter.c/adapter_process_packet to print out any incoming reports (BYTE_OUT_REPORT), and I don't see any. All I see is these 0x44-type packets. When I go to Device settings on the PS4, I see the checkbox for Vibration checked, but disabled (along with Mic and LED level).
My end-goal is to actually read the rumble state of the DIY adapter from the separate application sending Window Events. To do that I'm just going to do a quick hack - add a static global that I can read from in an external process.