Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2022-02-26 23:42:19 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2022-02-26 23:56:17 +0300
commit4ee4b61dd8d372358606441f450df02a6e27d563 (patch)
treeeb0f6f0ca28bf1d5ad79f5bcb2f409c14d5608f6 /source/blender/draw
parent7aa0be4b32bdbee61ea732f43175c8bc6585fc98 (diff)
Ghost/Event System: Support mapping more keys
This fixes T93051, T76405 and maybe others. Characters like '²', '<' are not recognized in Blender's shortcut keys. And sometimes simple buttons like {key .} and {key /} on the Windows keyboard, although the symbol is "known", Blender also doesn't detect for shortcuts. For Windows, some of the symbols represented by `VK_OEM_[1-8]` values, depending on the language, are not mapped by Blender. On Mac there is a fallback reading the "actual character value of the 'remappable' keys". But sometimes the character is not mapped either. On Windows, the solution now mimics the Mac and tries to read the button's character as a fallback. For unmapped characters ('²', '<', '\''), now another value is chosen as a substitute. More "substitutes" may be added over time. Differential Revision: https://developer.blender.org/D14149
Diffstat (limited to 'source/blender/draw')
0 files changed, 0 insertions, 0 deletions