Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

Xamarin.Mac and Joysticks

$
0
0

Hi everybody,

I’m looking for the best practise to connect and poll common USB joysticks (their axis values in particular, no gamepads) with Xamarin.Mac for a Mac OS desktop app.

I have done quite a lot of research for about 1 week but have not found a robust and well running solution yet, unfortunately. What I have tried so far, with Logitech Extreme 3D Pro joystick connected (well detected by Controllers Lite tool).

  • UrhoSharp3D: Getting axis data works well but focus has always to be on an UrhoSharp3D application window otherwise joystick cannot be polled. But I do not want to have an extra window besides my Xamarin.Mac app.

  • MonoGame: No connected joystick found

  • MonoTK / OpenTK: There seems to be no compatible SDL2.dll

  • Sharpex2D: Sharpex2D.Game.Input is always null

  • Xamarin.Apple.iOSTVMac: Apple API GameController.GCController does not detect the joystick

Has anybody a good approach how to get the joystick working with a Xamarin.Mac app, or is there any different useful package/component available e.g. at Nuget?

Kind regards,

Andreas


Viewing all articles
Browse latest Browse all 1429

Latest Images

Trending Articles



Latest Images