piatok 27. apríla 2012

Small library for using gamepad at C# by DirectxInput

1. Step 
2. Step
3. Step

  • Go to Debug-Exceptions-Managed Debugging Assistant- LoaderLock-Thrown off

4. Step
  • InputDevice.Gamepad gamepad = new InputDevice.Gamepad();
5. Step
  • gamepad.calculate_result(32511, 32767, 8); - this function return buttons and axis, buttons return "z_t_+ button"

Examplehttp://www.prianicslovakia.tym.sk/Download/gamepad_example.rar