The code below is using SlimDx.dll for initializing Direct input libraries. I can only use it ONE TIME is each run, For example there is a button which use this code, I want to initializing direct input as many times as I click on this button but it is not happening and only ONE TIME with the first click.
DirectInput directInput = new DirectInput();
How to fix this problem?