Keyboard/Mouse Input under XNA Framework

From my reading, my understanding is that XNA Framework will use XINPUT. By design, XINPUT handles game controllers specifically and does not address keyboards, mice, or other HID devices. AFAIAA, current guidance given for DirectInput to XINPUT transition on the Windows platform is to handle keyboard and mouse input via traditional Windows messages or System.Windows.Forms events.

However, we are now being advised that cross-platform application implementations built on XNA Framework will need to refrain from referencing the System.Windows.Forms namespace, and that ideally our application window will be managed by GraphicsComponent. Furthermore, on the 360, there would likely not be any Windows message stream from which to handle input from an add-on keyboard or mouse.

What type of solution will be provided for handling Keyboard and Mouse input in a platform-independent way under the XNA Framework

Thank you,
phoenix11


Answer this question

Keyboard/Mouse Input under XNA Framework

  • Ademaure

    Unless MS has changed their stance, there will be no "official" mouse/keyboard.

  • haihtomy

    Minor detail: will there be a keyboard-mouse "official Xbox360 Input pack" or does the X360 support standard Keyboard and Mouse USB HIDs

  • raq

    The Xbox 360 should support any standard USB keyboard. As mentioned, the mouse support is Windows only.
  • OOMama

    We provide keyboard support on both platforms and mouse support on Windows.

  • Keyboard/Mouse Input under XNA Framework