My program has several key combinations, but whenever Shift, Alt or Control is pressed, they override any other keys that are not one of those 3, even though they don't override each other. Can someone please help me find a way to make sure the KeyEventArgs (or some equivalent function) gets both, like for example Shift + W? In the code below, I only every get the shift writeline, never the combo, regardless if I started by holding down the W or the Shift.
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Shift)
{
if (e.KeyData == Keys.W || e.KeyData == Keys.S)
{
Console.WriteLine("combination");
}
Console.WriteLine("shift");
}
}