{"action":"opened","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/3819","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/3819/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/3819/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/3819/events","html_url":"https://github.com/mono/MonoGame/issues/3819","id":73443397,"number":3819,"title":"GamePad throws Exception in Windows 10 UAP projects on phones","user":{"login":"jakepoz","id":392417,"avatar_url":"https://avatars.githubusercontent.com/u/392417?v=3","gravatar_id":"","url":"https://api.github.com/users/jakepoz","html_url":"https://github.com/jakepoz","followers_url":"https://api.github.com/users/jakepoz/followers","following_url":"https://api.github.com/users/jakepoz/following{/other_user}","gists_url":"https://api.github.com/users/jakepoz/gists{/gist_id}","starred_url":"https://api.github.com/users/jakepoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakepoz/subscriptions","organizations_url":"https://api.github.com/users/jakepoz/orgs","repos_url":"https://api.github.com/users/jakepoz/repos","events_url":"https://api.github.com/users/jakepoz/events{/privacy}","received_events_url":"https://api.github.com/users/jakepoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T21:58:34Z","updated_at":"2015-05-05T21:58:34Z","closed_at":null,"body":"Using the new Windows 10 UAP templates, there an exception is thrown when using the GamePad API.\r\n\r\nThis happens only when running the app on a Windows 10 Phone (emulator in this case), not when running on a desktop PC.\r\n\r\n```C#\r\nbool isBackButtonPressed = GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed;\r\n-----------\r\n{System.DllNotFoundException: Unable to load DLL 'xinput1_4.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)\r\n   at SharpDX.XInput.XInput.XInputGetState_(Int32 arg0, Void* arg1)\r\n   at SharpDX.XInput.XInput.XInputGetState(Int32 dwUserIndex, State& stateRef)\r\n   at SharpDX.XInput.XInput14.XInputGetState(Int32 dwUserIndex, State& stateRef)\r\n   at Microsoft.Xna.Framework.Input.GamePad.PlatformGetState(Int32 index, GamePadDeadZone deadZoneMode)\r\n   at Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex playerIndex, GamePadDeadZone deadZoneMode)\r\n   at Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex playerIndex)\r\n   at Salad.SaladGame.Update(GameTime gameTime)\r\n   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)\r\n   at Microsoft.Xna.Framework.Game.Tick()\r\n   at Microsoft.Xna.Framework.UAPGameWindow.Tick()\r\n   at Microsoft.Xna.Framework.UAPGamePlatform.<>c.<StartRunLoop>b__10_0(Object o, Object a)}``"}}