Skip to content

Commit 816bcc6

Browse files
committed
[XInput] Remove check for result code in Controller.GetKeystroke (sharpdx#627)
1 parent 2d5f8b6 commit 816bcc6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Source/SharpDX.XInput/Controller.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public bool GetCapabilities(DeviceQueryType deviceQueryType, out Capabilities ca
9999
public Result GetKeystroke(DeviceQueryType deviceQueryType, out Keystroke keystroke)
100100
{
101101
var result = ErrorCodeHelper.ToResult(xinput.XInputGetKeystroke((int)userIndex, (int)deviceQueryType, out keystroke));
102-
result.CheckError();
103102
return result;
104103
}
105104

0 commit comments

Comments
 (0)