title: How to access a joystick/gamepad from Mono/C# in Linux?
body: <p>I'm working on a robotics project using C# on a Raspberry Pi running Debian.  I've gotten a PS3 DualShock controller paired with the OS, so that it appears as joystick device /dev/input/js0.</p>
  
  <p>Now I'd like to access the DualShock joysticks and buttons from C# code.  This appears to be harder (or at least more obscure) than I expected -- I've found references to OpenTK, which appears to be at least in a coma, if not dead; and XNA, which might do it but contains way more than I need (and I worry about about getting all that working on my RPi), as well as various other small wrapper projects that are less well supported.</p>
  
  <p>As a newbie to Mono, C#, and Linux all at once, I'm in a bit over my head here... any suggestions as to the easiest/best way to read the DualShock state in this environment?</p>