Blender Git Loki
Git Commits -> Revision 4693207
Revision 4693207 by Christopher Peerman (master) January 14, 2019, 19:48 (GMT) |
Windows: add support for Windows Ink. Before this Blender always needed the Wintab driver. This adds support for the native pressure API in Windows 8+, making it possible to get pressure sensitivity on e.g. Microsoft Surface hardware without any extra drivers. By default Blender will automatically use Wintab if available, and if not use Windows Ink instead. There is also a new user preference to explicitly specify which API to use if automatic detection fails. Fixes T57869: no pressure sensitivity with Surface pen or laptop. Code by Christopher Peerman with some tweaks by Brecht Van Lommel. Differential Revision: https://developer.blender.org/D4165 |
Commit Details:
Full Hash: 46932079184754ace63b25f854e3f273fbf6f0c5
Parent Commit: eaf282b
Committed By: Brecht Van Lommel
Lines Changed: +277, -7
14 Modified Paths:
/intern/ghost/GHOST_C-api.h (+7, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+6, -0) (Diff)
/intern/ghost/GHOST_Types.h (+6, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+6, -1) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+13, -2) (Diff)
/intern/ghost/intern/GHOST_System.h (+13, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+7, -2) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+89, -1) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+76, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+5, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+11, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+17, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+20, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+6, -0) (Diff)
/intern/ghost/GHOST_Types.h (+6, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+6, -1) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+13, -2) (Diff)
/intern/ghost/intern/GHOST_System.h (+13, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+7, -2) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+89, -1) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+76, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+5, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+11, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+17, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+20, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)