Skip to content

Commit

Permalink
Merge pull request #46 from DjCrqss/24-fix-some-multi-item-keys-not-s…
Browse files Browse the repository at this point in the history
…howing-activation-status

Fix some keys not showing activation status
  • Loading branch information
DjCrqss authored Jan 19, 2025
2 parents 98ceb5a + ee112a7 commit a328cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktopclient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public enum keyMaps
{
A = 4, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, // Z = 29
D1, D2, D3, D4, D5, D6, D7, D8, D9, D0, // 0 key is 39
Return, Escape, Back, Tab, Space, OemMinus, OemPlus, OemOpenBrackets, OemCloseBrackets, Oem5, // 50 = non-US-1
Return, Escape, Back, Tab, Space, OemMinus, OemPlus, Oemplus = 46, OemOpenBrackets, OemCloseBrackets, Oem6 = 48, Oem5, // 50 = non-US-1. 48 (OemCloseBrackets) swapped for oem6
Oem1 = 51, Oem7, Oemtilde, Oemcomma, OemPeriod, OemQuestion, Capital,
F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12,
PrintScreen, Scroll, MediaPlayPause = 72, Pause = 72, Insert, Home, PageUp, Delete, End, PageDown,
Expand All @@ -372,7 +372,7 @@ public void Receive(KeyboardEvent @event)
{
keyMaps keyCode;
keyMaps.TryParse(@event.Key.ToString(), out keyCode);
//System.Diagnostics.Debug.WriteLine("Input: " + @event.Key.ToString());
//Debug.WriteLine("Input: " + @event.Key.ToString());
if ((int)keyCode > 0)
{
//Debug.WriteLine("Output: " + @event.Key.ToString() + " " + (int)keyCode);
Expand Down

0 comments on commit a328cbd

Please sign in to comment.