It is time to adapt the wrapper for joystick style devices in order to use it in our XBAP WPF application.
By default, Visual Studio configures an XBAP WPF application to run as a partial trust application. We are going to change that in order to have access to DirectInput. However, this is not a recommended practice. You should only use it when working with other security resources as certificates.