diff --git a/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs b/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs index feb3e39..6f94f65 100644 --- a/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs @@ -107,7 +107,7 @@ namespace DS4WinWPF.DS4Forms.ViewModels break; case DS4ControlSettings.ActionType.Key: shiftOutBind.outputType = OutBinding.OutType.Key; - shiftOutBind.outkey = (int)setting.shiftAction; + shiftOutBind.outkey = Convert.ToInt32(setting.shiftAction); shiftOutBind.hasScanCode = sc; shiftOutBind.toggle = toggle; break;