problem with joy[] in allegro - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +--- Thread: problem with joy[] in allegro (/thread-8759.html) |
problem with joy[] in allegro - syn9 - 01-17-2006 hi. i'm trying to use allegro's joystick routines, but whenever i try to access dat in joy[] the program crashes... heres the code i'm using. and before you ask why i'm not using sdl's joystick routines is because sdl wont deteck my joystick >) Code: #include once "sdl\sdl.bi" thanks! problem with joy[] in allegro - syn9 - 01-17-2006 v1c helped me out. heres his solution:: Quote:The "joy" global is incorrectly declared in inc/allegro.bi, change it to: problem with joy[] in allegro - Dr_Davenstein - 01-18-2006 Bah! Glfw loves joysticks. :lol: problem with joy[] in allegro - syn9 - 01-18-2006 ok, i tried it, and it worked >) i'll give glfw a second chance and port zero gtr over to it that way i dont have to use 3 libraries to make the game run how i want it to >D thanks Dr_D problem with joy[] in allegro - Dr_Davenstein - 01-18-2006 Cool! :wtnod: |