I want to determine whether a CTRL key is LEFT CTRL or RIGHT CTRL key when it is pressed. How can I do this?
You can easily check the status of the Keyboard using System.Windows.Input.Keybaord.IsKeyDown() to determine if the Right or Left Control key is pressed:
System.Windows.Input.Keybaord.IsKeyDown()
Right
Left
Control
if (Keyboard.IsKeyDown(Key.LeftCtrl) {} else if (Keyboard.IsKeyDown(Key.RightCtrl) {} end if