From b228a88bd8ddf793a69282d3499a584679aebd25 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 28 Jan 2020 10:17:01 -0600 Subject: [PATCH] Added extra hooks in Binding window for Numpad keys Related to issue #1076 --- DS4Windows/DS4Forms/BindingWindow.xaml.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DS4Windows/DS4Forms/BindingWindow.xaml.cs b/DS4Windows/DS4Forms/BindingWindow.xaml.cs index 3304c1b..1c50319 100644 --- a/DS4Windows/DS4Forms/BindingWindow.xaml.cs +++ b/DS4Windows/DS4Forms/BindingWindow.xaml.cs @@ -715,6 +715,12 @@ namespace DS4WinWPF.DS4Forms associatedBindings.Add(num3Btn, new BindAssociation() { outputType = BindAssociation.OutType.Key, outkey = 0x63 }); num3Btn.Click += OutputKeyBtn_Click; + associatedBindings.Add(num0Btn, + new BindAssociation() { outputType = BindAssociation.OutType.Key, outkey = 0x60 }); + num0Btn.Click += OutputKeyBtn_Click; + associatedBindings.Add(numPeriodBtn, + new BindAssociation() { outputType = BindAssociation.OutType.Key, outkey = 0x6E }); + numPeriodBtn.Click += OutputKeyBtn_Click; associatedBindings.Add(numEnterBtn, new BindAssociation() { outputType = BindAssociation.OutType.Key, outkey = 0x13 }); numEnterBtn.Click += OutputKeyBtn_Click;