What I am seeing in this app is a number of message like this.
`37513.309:0130:0134:fixme:rawinput:rawinput_from_hardware_message Unhandled rawinput type 0x100.`
So somehow there are invalid rawinput message coming in from the controller level. I have not investigated down to that level yet as the handling of such an error in GetRawInputBuffer already looks like it needs fixing. And with that fixed The controller functions as expected.