Change the key combination for °

To Fn+*

Was previously accent^+*, which was not available for most languages.
This commit is contained in:
Jules Aguillon 2022-01-01 19:00:27 +01:00
parent 9c82c9cfdc
commit 2764e96eb1

View File

@ -73,11 +73,7 @@ class KeyModifier
default: return (char)KeyCharacterMap.getDeadChar('\u00B4', c); default: return (char)KeyCharacterMap.getDeadChar('\u00B4', c);
} }
case KeyValue.FLAG_ACCENT3: case KeyValue.FLAG_ACCENT3:
switch (c) return (char)KeyCharacterMap.getDeadChar('\u02C6', c);
{
case '*': return '°';
default: return (char)KeyCharacterMap.getDeadChar('\u02C6', c);
}
case KeyValue.FLAG_ACCENT4: case KeyValue.FLAG_ACCENT4:
switch (c) switch (c)
{ {
@ -186,6 +182,7 @@ class KeyModifier
case "esc": name = "insert"; break; case "esc": name = "insert"; break;
case "$": name = ""; break; case "$": name = ""; break;
case "#": name = "£"; break; case "#": name = "£"; break;
case "*": name = "°"; break;
default: return k; default: return k;
} }
return KeyValue.getKeyByName(name); return KeyValue.getKeyByName(name);