I did try apply DirectX input to using joystick for my HID emulation, but my testing program failure in SetCooperativeLevel() API on dinput. At the result of analyse, I found FLTK API fl_xid() returns wrong HWND value from debuger. Just inspected real HWND(handle of window) value with Process Hacker. It was… Read more »
RaphComments Off on FLTK+MinGW+DirectX8, Joystick example
Here I made an example source code with Code::Blocks+MinGW-W64+WINE project directX8 library for using joystick. You should know this project limited to under Windows32 platform, but You can make fast faced simple game without DirectX surface, only using FLTK and Direct Input. I recommend to using my FLTK-1.3.3-ts library for… Read more »