Blender Git Commit Log
Git Commits -> Revision c85de34
August 3, 2006, 12:23 (GMT) |
* Tablet Pressure support in GHOST This is 'ported' from Nicholas Bishop's sculpting GSoC tree. I'm bringing it over now so a) it can be there for when lukep does his GHOST refactor b) it's something that GHOST should have anyway, particularly now there's interest in painting tools and c) it's missing support in Windows, so hopefully now some enterprising Windows coder can add that more easily in the main bf tree. Right now X11 and Mac OS X are supported. I added and can maintain the Mac OS X part, but I'm not familiar with the Xinput stuff, which Nicholas wrote. Both X11 and Mac are collecting active device and pressure, and Mac is also collecting x and y tilt data. Up to coders how they want to use this info! :) Although the data's coming in, I haven't actually made this do anything. I thought it best to leave it to brecht to figure out what he wants to do with the painting stuff, and I wonder what other interesting uses there could be for it (proportional edit?). I'll write implementation details in a separate mail to the committers list. |
Commit Details:
Full Hash: c85de34c267983bfc5dca388d5bcf6f092cf60ee
SVN Revision: 8270
Parent Commit: 454fceb
Lines Changed: +239, -13
12 Modified Paths:
/intern/ghost/GHOST_C-api.h (+7, -1) (Diff)
/intern/ghost/GHOST_IWindow.h (+6, -0) (Diff)
/intern/ghost/GHOST_Types.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+5, -3) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.cpp (+85, -5) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+18, -2) (Diff)
/intern/ghost/intern/GHOST_WindowCarbon.cpp (+2, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCarbon.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+2, -1) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+64, -1) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+29, -0) (Diff)
/intern/ghost/GHOST_IWindow.h (+6, -0) (Diff)
/intern/ghost/GHOST_Types.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+5, -3) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.cpp (+85, -5) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+18, -2) (Diff)
/intern/ghost/intern/GHOST_WindowCarbon.cpp (+2, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCarbon.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+2, -1) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+64, -1) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+29, -0) (Diff)