mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Removed unnecessary casts
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Microsoft.Iris.Input
|
||||
|
||||
internal KeyCommandInfo OnRawInput(CommandCode command, ref RawHidData args)
|
||||
{
|
||||
KeyCommandInfo keyCommandInfo = (KeyCommandInfo)null;
|
||||
KeyCommandInfo keyCommandInfo = null;
|
||||
if (command != CommandCode.None)
|
||||
keyCommandInfo = KeyCommandInfo.Create(args._action, args._deviceType, command);
|
||||
return keyCommandInfo;
|
||||
|
||||
Reference in New Issue
Block a user