Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualTom KQT

Posted 13 January 2013 - 07:13 AM

Yep, DirectInput isn't oficially depreciated. But Microsoft doesn't recommend it for keyboard and mouse input (I could find the source if you wanted, but I don't think it's so important to give proofs to this as it still was just a recommendation from them, not a directive). The recommended ("official") way to handle input is like this:

Keyboard & mouse - Windows messages.
Xbox360 compatible gamepads - XInput.
All other joysticks, gamepads, wheels etc - DirectInput.

#2Tom KQT

Posted 13 January 2013 - 07:13 AM

Yep, DirectInput isn't oficially depreciated. But Microsoft doesn't recommend it for keyboard and mouse input (I could find the source if you wanted, but I don't think it's so important to give proofs to this as it still was just a recommendation from them, not a directive). The recommended ("official") way to handle input is like this:

Keyboard & mouse - Windows messages.
Xbox360 compatible gamepads - XInput.
All other joysticks, gamepads, wheels etc - DirectInput.

#1Tom KQT

Posted 13 January 2013 - 07:12 AM

Yep, DirectInput isn't oficially depreciated. But Microsoft doesn't recommend it for keyboard and mouse input (I could find the source if you wanted, but I don't think it's so important to give proofs to this). The recommended ("official") way to handle input is like this:

 

Keyboard & mouse - Windows messages.
Xbox360 compatible gamepads - XInput.
All other joysticks, gamepads, wheels etc - DirectInput.


PARTNERS