Harmonize joystick events between different platforms. See https://github.com/wxWidgets/wxWidgets/pull/1017