How to access a joystick/gamepad from Mono/C# in Linux? -
I am using C # on Debian, running Raspberry P on Robotics Project. I have got a PS3 DualShock controller made with OS so that it appears as a joystick device / dev / input / js0.
Now I want to use DualShock joysticks and buttons from the C # code. It seems that it is more difficult than expected (or at least more ambiguous) - I have found the context of opentext, which appears in at least one coma, if not dead; And XNA, which can do this, but more than I need (and I worry about doing all the work on my RPI), as well as other small cover projects that are less well supported.
Mono, C # and Linux once in a while, I'm a little bit on my head here ... as the easiest / best way to read the dualshock state in this environment. Any suggestions?
An open source implementation of XNA is a cross-platform, and target Linux does. You can see how they do it.
Comments
Post a Comment