Allow to type İ on the Turkish layout

In Turkish, upper case of 'iı' is 'İI' but Java's toUpperCase will
return 'II'.
To make 'İ' accessible, make it the shift of 'ı'. This has the
inconvenient of swapping i and ı on the keyboard.
This commit is contained in:
Jules Aguillon 2022-10-04 10:10:54 +02:00
parent dda8f0314d
commit fc8bb3a539

View File

@ -354,6 +354,10 @@ class KeyModifier
case '─': return '═';
case '│': return '║';
case 'ß': return 'ẞ';
/* In Turkish, upper case of 'iı' is 'İI' but Java's toUpperCase will
return 'II'. To make 'İ' accessible, make it the shift of 'ı'. This
has the inconvenient of swapping i and ı on the keyboard. */
case 'ı': return 'İ';
default: return c;
}
}