Skip to content

Commit 878c992

Browse files
authored
Merge pull request #71 from chihirobelmo/develop
QWERTY to remove comm menu assign avoid
2 parents 6f884b8 + 71c5c28 commit 878c992

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Falcon BMS Alternative Launcher/Windows/KeyMappingWindow.xaml.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@ private void KeyMappingGrid_KeyDown()
274274
if (catchedScanCode == 0)
275275
return;
276276

277+
//QWERTY comm menu avoid.
278+
if ((Microsoft.DirectX.DirectInput.Key)catchedScanCode == Microsoft.DirectX.DirectInput.Key.Q && !Shift && !Ctrl && !Alt)
279+
return;
280+
if ((Microsoft.DirectX.DirectInput.Key)catchedScanCode == Microsoft.DirectX.DirectInput.Key.W && !Shift && !Ctrl && !Alt)
281+
return;
282+
if ((Microsoft.DirectX.DirectInput.Key)catchedScanCode == Microsoft.DirectX.DirectInput.Key.E && !Shift && !Ctrl && !Alt)
283+
return;
284+
if ((Microsoft.DirectX.DirectInput.Key)catchedScanCode == Microsoft.DirectX.DirectInput.Key.R && !Shift && !Ctrl && !Alt)
285+
return;
286+
if ((Microsoft.DirectX.DirectInput.Key)catchedScanCode == Microsoft.DirectX.DirectInput.Key.T && !Shift && !Ctrl && !Alt)
287+
return;
288+
if ((Microsoft.DirectX.DirectInput.Key)catchedScanCode == Microsoft.DirectX.DirectInput.Key.Y && !Shift && !Ctrl && !Alt)
289+
return;
290+
277291
Pinky pinkyStatus = Pinky.UnShift;
278292
if (Select_PinkyShift.IsChecked == false)
279293
pinkyStatus = Pinky.Shift;

0 commit comments

Comments
 (0)