Original Post
I'm trying to start working with DirectInput and creating a custom data format for a controller I have. Problem is that I can't find any good resources on where to start. For instance, I know that I need to set up the data format which I believe I did correctly. Then I know I need to use the IDirectInput8::EnumDevices() function to find all the devices and compare them to what I need. Then I use the IDirectInput8::CreateDevice() function to create the actual device. Problem is that I don't know how to use the EnumDevices() function and the callback to pass the proper data to CreateDevice(). Then I don't know how to get the data from the right buttons. Can anyone help me out? Post some links, book titles, code snippets, or anything to get me started. Thanks in advance.