Blender Git Loki

Git Commits -> Revision ce65fae

Revision ce65fae by Bastien Montagne (master)
May 10, 2016, 06:29 (GMT)
Fix T48369: Missing suport for main '+' key.

Many keyboard layouts (italian, spanish, german...) have direct access to '+' key on main
keyboard area (not the numpad one), ans x11 has own define for this key, so use it instead
of generating an unkown key event.

Note that we most likely have much more missing 'specific' keycodes for non-US keyboard layout,
but think since we already had a 'minus' keyevent, supporting 'plus' one is totally consistent.
And we had a spare space in our defined values just for it even!

This keyevent is only supported/generated by x11 and cocoa Ghost backends for now,
neither SDL nor win32 seem to have matching key events...

Commit Details:

Full Hash: ce65fae8f32c058ef50eb1a9a0a82472c4a68040
Parent Commit: 76481ea
Lines Changed: +9, -0

9 Modified Paths:

/intern/ghost/GHOST_Types.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+1, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+1, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+1, -0) (Diff)
/source/gameengine/GameLogic/SCA_IInputDevice.h (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_KeyboardDevice.cpp (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021