Added class KeyModifiers which improvements better control over the combinations keys.

This commit is contained in:
BDisp
2020-05-31 01:43:47 +01:00
parent 1863970050
commit 4fcb164f4b
6 changed files with 186 additions and 59 deletions

View File

@@ -469,7 +469,8 @@ static class Demo {
if ((keyEvent.Key & Key.AltMask) != 0)
msg += "Alt ";
msg += $"{(((uint)keyEvent.KeyValue & (uint)Key.CharMask) > 26 ? $"{(char)keyEvent.KeyValue}" : $"{keyEvent.Key}")}";
list.Add (msg);
//list.Add (msg);
list.Add (keyEvent.ToString ());
break;