mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-01-13 00:38:25 +01:00
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:
parent
dda8f0314d
commit
fc8bb3a539
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user