From: John L. <jla...@gm...> - 2012-08-14 23:44:55
|
On Tue, Aug 14, 2012 at 8:14 AM, Andre Arpin <ar...@ki...> wrote: > I do not know why the assert for joysticks but catch works perfectly well using > arrow keys at least on window. > Andre There's no problem with not having a physical joystick, but the check is whether wxJoyStick is supported and available in the wxLua bindings on that platform or not. For older versions of wxWidgets it is not supported in OSX and since I didn't have time to add the appropriate if() statements and do it right, I just asserted to let the person running that there would was a problem in a human readable way, rather than a cryptic assert about calling a nonexistant wxJoyStick functions. If you have time to make a patch that fixes it more properly that would be great. Thanks, John |