Keep scan code setting enforced in the KBM360 form

This commit is contained in:
Travis Nickles 2017-04-05 23:35:36 -07:00
parent 5c74a00d90
commit 64e8a137e1

View File

@ -34,8 +34,9 @@ namespace DS4Windows
device = deviceNum;
ops = ooo;
button = buton;
cBToggle.Checked = button.Font.Italic;
cBScanCode.Checked = button.Font.Bold;
DS4ControlSettings dcs = Global.getDS4CSetting(device, button.Name);
cBToggle.Checked = dcs.keyType.HasFlag(DS4KeyType.Toggle);
cBScanCode.Checked = dcs.keyType.HasFlag(DS4KeyType.ScanCode);
oldSC = cBScanCode.Location;
defaultText = btnDefault.Text;
if (button.Name.StartsWith("bnShift"))