Blender Git Commit Log

Git Commits -> Revision 5be0e34

Revision 5be0e34 by Campbell Barton (master)
March 6, 2020, 06:31 (GMT)
GHOST/Keymap: support for detecting repeat events

- Keymap items now have 'repeat' boolean which can be set
to make keymap items respond to key repeat events or not.
- Support for X11 & WIN32 (not macOS currently).

This allows for the possibility to perform actions while a key is held
and finish the action upon release.

Thanks to @Severin for review and WIN32 support.

Commit Details:

Full Hash: 5be0e3430d13341feddee739997130239daf71d5
Parent Commit: 73ef27f
Lines Changed: +165, -17

16 Modified Paths:

/intern/ghost/GHOST_Types.h (+3, -0) (Diff)
/intern/ghost/intern/GHOST_EventKey.h (+9, -2) (Diff)
/intern/ghost/intern/GHOST_NDOFManager.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+2, -2) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+17, -1) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+2, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+70, -3) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+2, -0) (Diff)
/release/scripts/modules/rna_keymap_ui.py (+3, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+18, -0) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+20, -5) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+9, -0) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+4, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021