- You must install directx
- http://www.edownload.cz/sw/directx-9-0c-10/download/
- You add class gamepad.cs
- http://www.prianicslovakia.tym.sk/Download/Gamepad.cs
- Go to Debug-Exceptions-Managed Debugging Assistant- LoaderLock-Thrown off
4. Step
- InputDevice.Gamepad gamepad = new InputDevice.Gamepad();
- gamepad.calculate_result(32511, 32767, 8); - this function return buttons and axis, buttons return "z_t_+ button"
Example - http://www.prianicslovakia.tym.sk/Download/gamepad_example.rar
bohužel Error 404 - Soubor nenalezen nebo stránka neexistuje. ten example
OdpovedaťOdstrániťUz by to malo byt OK, chyba bola na mojej strane, Dakujem za upozornenie
OdpovedaťOdstrániť