If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
2 posts • Page 1 of 1
Is the wxJoystick class able to send a wxJoystickEvent for more than 4 buttons? I’ve looked through the wxwidgets code and it seems that its being constrained by joySetCapture which only captures window messages (WM) for the first 4 buttons/2 joysticks. If the win api is so constrained, why doesn’t wxwidgets use a timer to poll with joyGetPosEx? That way everything works as expected. As is, the documentation is unclear because GetButtonState can access all the buttons but using event EVT_JOY_BUTTON_DOWN and company cannot. -maxinuruguay