// This gets called at the end of the program and must be present, as it cleans up resources
 public void shutDown()
 {
     controller.sendKeyUp(Microsoft.DirectX.DirectInput.Key.LeftShift); // Release latched key
     controller.sendKeyUp(Microsoft.DirectX.DirectInput.Key.LeftControl);
     controller.sendKeyUp(Microsoft.DirectX.DirectInput.Key.W);
     controller.sendKeyUp(Microsoft.DirectX.DirectInput.Key.S);
     controller.sendKeyUp(Microsoft.DirectX.DirectInput.Key.X);
     controller.sendKeyUp(Microsoft.DirectX.DirectInput.Key.Space);
     controller.UnInit();
     joystick.Release(1);
 }
 //this gets called at the end of the program and must be present, as it cleans up resources
 public void shutDown()
 {
     controller.UnInit();
     joystick.Release(1);
 }
 //this gets called at the end of the program and must be present, as it cleans up resources
 public void shutDown()
 {
     controller.sendKeyUp(Microsoft.DirectX.DirectInput.Key.LeftControl);
     controller.UnInit();
     joystick.Release(1);
 }