I wonder if the cmake patch floating around can generate netbeans project files automatically.
The project files were pretty trivial to create. I've finished the changes for windows and linux and tested the windows version. I don't have a mac to try them on but I supposed I could set up a vm and try it or borrow one from a friend.
As for why not using Windows API directly. For one, it would mean stealing the winproc from the app, which may steal it back. Though, I've come across some hook procedures that could listen to messages without having to rely on subclassing a window. In regards to its simplicity, I can't say as I haven't worked on trying that yet. Though, the DirectInput version for mouse/keyboard is not all that difficult.
DirectInput for joysticks will always stick around. Though, XInput will be added for newer controllers as well.
Thanks. I don't think hooking it would be difficult. I'm not sure if there's any way to do anything with all the extra buttons some controllers have though. I don't know if they have drivers that generate windows messages for new buttons or if they only work with directinput and just appear like a legacy device otherwise.
p.s.
Thanks for sharing OIS