Blender Git Loki

Git Commits -> Revision c52e7c1

Revision c52e7c1 by Nathan Letwory (master)
October 16, 2010, 15:21 (GMT)
Fix AltGr problem on Windows

It was impossible for keyboard layouts that use AltGr to create certain characters to insert
them in Text and Console.

The keyboard driver in Windows sends left control events when AltGr is pressed. This meant that
Blender thought control was being held, which is a PASS_THROUGH condition for the insert operator
in both editors.

Add testing of keyboard layout for AltGr, both on initialization and WM_INPUTLANGCHANGE.

To remedy AltGr problem, we send now a left control key up event to Blender before further processing
the AltGr key.

Commit Details:

Full Hash: c52e7c13706e96816f5f8893349d602803948ae2
SVN Revision: 32524
Parent Commit: 7122b53
Lines Changed: +56, -12

2 Modified Paths:

/intern/ghost/intern/GHOST_SystemWin32.cpp (+31, -11) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+25, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021