mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-06-11 20:36:52 +02:00
Change the key combination for °
To Fn+* Was previously accent^+*, which was not available for most languages.
This commit is contained in:
parent
9c82c9cfdc
commit
2764e96eb1
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user