Fix #114867: 'i' key in Turkish layout is marked as 'EVT_QUOTEKEY'
Different from most layouts. The Turkish keyboard layout treats the `i` as the lowercase `İ` and the `ı` as the lowercase `I`. So we have 2 different types of i: `ı` and `İ`. And two different I key positions on the keyboard. This key with a different position is mapped as special and returns the corresponding `event->type` of the US keyboard `"` (`EVT_QUOTEKEY`). The apparently most appropriate event for this key would be `EVT_IKEY`. This type of change needs to be treated with care, as it may alter other shortcuts that are already common to Turkish users. Pull Request: https://projects.blender.org/blender/blender/pulls/114917
This commit is contained in:
parent
0334ca0617
commit
952d74ebbb
@ -640,6 +640,10 @@ GHOST_TKey GHOST_SystemWin32::processSpecialKey(short vKey, short /*scanCode*/)
|
||||
case u'²':
|
||||
key = GHOST_kKeyAccentGrave;
|
||||
break;
|
||||
case u'i':
|
||||
/* `i` key on Turkish kbd. */
|
||||
key = GHOST_kKeyI;
|
||||
break;
|
||||
default:
|
||||
if (vKey == VK_OEM_7) {
|
||||
key = GHOST_kKeyQuote;
|
||||
|
Loading…
Reference in New Issue
Block a user