Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions src/InvvardDev.EZLayoutDisplay.Console/KeyDefinitionProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,74 @@ private void WriteJsonFile(List<KeyDefinition> keyDefinitions)
case "ES_NOT":
label = "\\u00AC";

break;
case "HU_UE":
label = "\\u00FC";

break;
case "HU_OO":
label = "\\u00F3";

break;
case "HU_OE":
label = "\\u00F6";

break;
case "HU_OEE":
label = "\\u0151";

break;
case "HU_UU":
label = "\\u00FA";

break;
case "HU_EE":
label = "\\u00E9";

break;
case "HU_BRV":
label = "\\u02D8";

break;
case "HU_RING":
label = "\\u00B0";

break;
case "HU_EURO":
label = "\\u20AC";

break;
case "HU_SS":
label = "\\u00DF";

break;
case "HU_AA":
label = "\\u00E1";

break;
case "HU_UEE":
label = "\\u0171";

break;
case "HU_PARA":
label = "\\u00A7";

break;
case "HU_II":
label = "\\u00ED";

break;
case "HU_ACUT":
label = "\\u00B4";

break;
case "HU_DIV":
label = "\\u00F7";

break;
case "HU_CRSS":
label = "\\u00D7";

break;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ private EZKey PrepareKeyLabels(ErgodoxKey ergodoxKey)
case KeyCategory.German:
key.InternationalHint = "de";

break;
case KeyCategory.Hungarian:
key.InternationalHint = "hu";

break;
case KeyCategory.Spanish:
key.InternationalHint = "es";
Expand Down
16 changes: 8 additions & 8 deletions src/InvvardDev.EZLayoutDisplay.Desktop/Model/Enum/KeyCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@
{
public enum KeyCategory
{
AutoShift = 0,
Audio = 0,
AutoShift,
Digit,
Letters,
DualFunction,
Fn,
French,
Fw,
German,
Hungarian,
Lang,
Layer,
LayerShortcuts,
Letters,
Macro,
Media,
Modifier,
Momentary,
Mouse,
Nav,
French,
German,
Spanish,
Nordic,
NumPad,
Other,
Expand All @@ -27,8 +28,7 @@ public enum KeyCategory
Shine,
Shortcuts,
Spacing,
Special,
Spanish,
System,
Toggle,
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public void InitializeKeyDefinitions()

// Assert
Assert.NotEmpty(dictionary.KeyDefinitions);
Assert.Equal(427, dictionary.KeyDefinitions.Count);
Assert.Equal(530, dictionary.KeyDefinitions.Count);
}
}
}