Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Joysticks on a Mac, _DEVICEINPUT()
#11
I'm glad that OverDrive driver worked for you!  I would've felt bad, you spending $$ on it and then it failing to perform.  Now we can start seeing joystick support in NakedApeGames(tm)!!  Big Grin
Reply
#12
Thnx. Yeh, I guess I'll go back and update Rock Jockey and The Sentinel for joystick use, since I've got Strig and Stick working fine now. 
Then I'll bring in $millions$ at X-Mas time with NakedApeGames, a subsidiary of NakedApeIndustries.   Rolleyes
Reply
#13
I'm glad the old qbasic commands worked for you, but I think _DEVICE$ and _DEVICEINPUT() ought to function cross-platform. Do those not work on Mac and Linux in general? If not, maybe we should report a bug or feature request to make them cross-platform.
Reply
#14
So it turns out that you don't need any additional drivers to get MacOS to recognize joysticks. You just can't use _DEVICEINPUT.  STRIG and STICK do work on MacOS. I'm pretty sure that @a740g Sam knows this already, but I tagged him here just in case. I'm happy to put the issue up on the Git if that's helpful.
Reply
#15
That'll be very helpful. _DEVICEINPUT seems to be broken on anything other than Windows. I remember @DSMan195276 and I briefly discussing this earlier this year. Also, @mechatronic3000 reported a broken _DEVICEINPUT keyboard functionality on Linux (#418).
Reply
#16
(10-10-2025, 02:26 PM)madscijr Wrote: I'm glad the old qbasic commands worked for you, but I think _DEVICE$ and _DEVICEINPUT() ought to function cross-platform. Do those not work on Mac and Linux in general? If not, maybe we should report a bug or feature request to make them cross-platform.

Not working on Linux.. I have tried different ways and get the same result. if i press other buttons on my pad why holding direction its works great but once i just hold direction it just stalls. I have found a work around for Linux which works great with no lag... its free open source... its called antimicrox. my xbox360 pad is supported with all buttons and joysticks and hat controls. it remaps the joystick directly to the keyboard map. perfect fix for now.   ----> sudo apt install antimicrox    [to install on linux]             $./antimicrox      [to launch config]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac print #file crlf? BlameTroi 5 339 02-16-2026, 08:42 PM
Last Post: BlameTroi
  Mac debugger not connecting, a user error! BlameTroi 0 110 02-07-2026, 06:18 PM
Last Post: BlameTroi
  Mac current release sigabrt BlameTroi 3 233 02-05-2026, 02:26 PM
Last Post: a740g
  QB64pe 4.0 on Mac Troubles NakedApe 14 2,270 12-29-2024, 01:53 AM
Last Post: NakedApe
  Compiling for Mac-OS mdijkens 12 2,491 03-13-2024, 10:24 PM
Last Post: NakedApe

Forum Jump:


Users browsing this thread: 1 Guest(s)