

The solution seems to be to pass the messages of such a raw input device to the right handler. Input from these devices is converted to messages handled by the OS. This mechanism spots it is a pointing device (in my case one or 2 mice) and makes sure that it is treated as a raw data input device. Windows Plug-and-Play starts searching for a driver. When you plug in the pad via USB it announces with a device ID and a vendor ID which device it is. I have exactly the same problem for more than a year now and I did not found the right solution yet. I am having trouble figuring out where to start. It may be worthwhile to note that I need to have joyPAD support and not joySTICK support for the buttons since play will involve pressing down any number of buttons at once and joysticks generally only register one direction of input at any given time.Īny advice or help would be greatly appreciated. I write a program that interfaces those signals from the USB port to the game controller drivers that windows has I open up a program to poll what the effects of pushing buttons are on the USB channel I imagine the approach going something like: Since I don't personally know anyone who would be able to set me on the right track for a workflow to solve this problem, I'm asking here.

I'm a senior undergraduate student in computer science at UC Davis and an intern at a large embedded systems company, however this project involves several aspects I have no experience in: interfacing hardware and software via a USB port, investigating feedback from hardware I didn't build (which bits light up when I press a button?), and creating drivers and indeed programs in general for windows. The end result I want is to be able to plug in the cobalt flux via the usb port and have windows recognize it as a game controller. The control box has a usb port, but as far as I can tell no one has ever written drivers for it before. The physical controller itself has nine face buttons and two control-box buttons (start/select). I'm looking to create a driver for a game controller I have (a cobalt flux ).
