blender/intern/ghost/intern
Bastien Montagne 75ab57efed Fix T38190: Linux tablet: Issue with XInput/GHOST?
With edits by Campbell, thanks!

Looks like in some cases (driver dependent?), `XDeviceMotionEvent` get generated with only part of expected data
(e.g. only x coordinate, only pressure, etc.), data which did not change since last event being NULL.
We know which data to actually handle with `XDeviceMotionEvent.first_axis` and `XDeviceMotionEvent.axes_count` values.

Reviewed by: campbellbarton

Differential Revision: https://developer.blender.org/D208
2014-01-13 17:51:17 +01:00
..
GHOST_Buttons.cpp style cleanup: ghost 2012-05-19 09:57:55 +00:00
GHOST_Buttons.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_C-api.cpp BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost. 2013-07-29 22:31:32 +00:00
GHOST_CallbackEventConsumer.cpp code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_CallbackEventConsumer.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_Debug.h minor changes to ghost 2013-01-16 01:10:06 +00:00
GHOST_DisplayManager.cpp code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_DisplayManager.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_DisplayManagerCocoa.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_DisplayManagerCocoa.mm fix [#37059] OSX Debug - assert when using external screen with MacBookPro 2013-10-12 20:01:17 +00:00
GHOST_DisplayManagerNULL.h style cleanup 2012-06-04 20:11:09 +00:00
GHOST_DisplayManagerSDL.cpp Cleaning up some prints related to SDL. 2013-08-29 22:48:37 +00:00
GHOST_DisplayManagerSDL.h style cleanup: ghost headers 2012-05-19 09:23:08 +00:00
GHOST_DisplayManagerWin32.cpp More win32 multimon (r53923). Changed getNumDisplays so that it will actually succeed. 2013-01-20 14:40:31 +00:00
GHOST_DisplayManagerWin32.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_DisplayManagerX11.cpp Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
GHOST_DisplayManagerX11.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_DropTargetWin32.cpp patch [#34320] Cross compiling with mingw-w64 on ubuntu 2013-02-19 12:05:38 +00:00
GHOST_DropTargetWin32.h Fix some harmless warnings that mostly appeared on MinGW64 2014-01-13 04:28:51 +02:00
GHOST_DropTargetX11.cpp code cleanup: use bool for widget struct, also edit odd strncpy use. 2013-07-19 10:39:44 +00:00
GHOST_DropTargetX11.h fix [#36157] Memory Leak in GHOST_DropTargetX11 2013-07-16 05:10:58 +00:00
GHOST_Event.h code cleanup: 0 --> NULL 2013-03-08 06:32:00 +00:00
GHOST_EventButton.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_EventCursor.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_EventDragnDrop.h style cleanup: trailing tabs & expand some non prefix tabs into spaces. 2012-10-21 05:46:41 +00:00
GHOST_EventKey.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_EventManager.cpp Fixed crash on Visual Studio 2013-09-03 15:30:07 +00:00
GHOST_EventManager.h code cleanup: 0 --> NULL 2013-03-08 06:32:00 +00:00
GHOST_EventNDOF.h style cleanup: ghost headers 2012-05-19 09:23:08 +00:00
GHOST_EventPrinter.cpp style cleanup: ghost 2012-05-19 09:57:55 +00:00
GHOST_EventPrinter.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_EventString.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_EventTrackpad.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_EventWheel.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_ISystem.cpp OSX: removing useless cocoa conditionals as it's solely api now 2013-11-05 14:35:09 +00:00
GHOST_ISystemPaths.cpp OSX: removing useless cocoa conditionals as it's solely api now 2013-11-05 14:35:09 +00:00
GHOST_ModifierKeys.cpp code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_ModifierKeys.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_NDOFManager3Dconnexion.c code cleanup: strange formatting. 2013-10-08 11:27:39 +00:00
GHOST_NDOFManager3Dconnexion.h OSX: Compilefix for ndof symbols get magled when used extern C, now use discrete c files embedded, patch by Jake Kauth 2013-09-13 15:18:17 +00:00
GHOST_NDOFManager.cpp spelling cleanup: metre -> er 2012-07-04 12:56:58 +00:00
GHOST_NDOFManager.h OSX: Compilefix for ndof symbols get magled when used extern C, now use discrete c files embedded, patch by Jake Kauth 2013-09-13 15:18:17 +00:00
GHOST_NDOFManagerCocoa.h OSX: Compilefix for ndof symbols get magled when used extern C, now use discrete c files embedded, patch by Jake Kauth 2013-09-13 15:18:17 +00:00
GHOST_NDOFManagerCocoa.mm OSX: Compilefix for ndof symbols get magled when used extern C, now use discrete c files embedded, patch by Jake Kauth 2013-09-13 15:18:17 +00:00
GHOST_NDOFManagerWin32.cpp style cleanup: ghost 2012-05-19 09:57:55 +00:00
GHOST_NDOFManagerWin32.h unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
GHOST_NDOFManagerX11.cpp Silent some warnings (the one in bmesh_operator.c was even preventing build in -Werror mode). 2012-12-02 13:35:33 +00:00
GHOST_NDOFManagerX11.h unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
GHOST_Path-api.cpp Adding include for NULL define in c++ 2013-03-08 09:09:48 +00:00
GHOST_Rect.cpp style cleanup: trailing tabs & expand some non prefix tabs into spaces. 2012-10-21 05:46:41 +00:00
GHOST_System.cpp code cleanup: 0 --> NULL 2013-03-08 06:32:00 +00:00
GHOST_System.h code cleanup: 0 --> NULL 2013-03-08 06:32:00 +00:00
GHOST_SystemCocoa.h Fix #35265: on OS X, pressing system shortcuts such as cmd+M or cmd+` would both 2013-05-11 10:15:27 +00:00
GHOST_SystemCocoa.mm Fix T38143: pressing F12 key in the text editor on OS X would type an invalid character. 2014-01-10 19:41:01 +01:00
GHOST_SystemNULL.h fix [#34900] Building blender as a python module is broken in trunk 2013-04-08 05:01:35 +00:00
GHOST_SystemPaths.h style cleanup 2012-09-20 01:32:13 +00:00
GHOST_SystemPathsCocoa.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_SystemPathsCocoa.mm Unix: enable use of XDG paths for storing Blender configuration on Linux/BSD/.., 2012-05-25 12:08:29 +00:00
GHOST_SystemPathsWin32.cpp Unix: enable use of XDG paths for storing Blender configuration on Linux/BSD/.., 2012-05-25 12:08:29 +00:00
GHOST_SystemPathsWin32.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_SystemPathsX11.cpp Fix regression in r59316 2013-10-07 16:06:15 +00:00
GHOST_SystemPathsX11.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_SystemSDL.cpp fix for bug in GHOST/SDL, events dont always have a window (which ghost needs). 2013-09-06 01:40:20 +00:00
GHOST_SystemSDL.h - ghost-sdl builds again. 2013-03-16 20:49:46 +00:00
GHOST_SystemWin32.cpp Fix console incorrectly showing on Windows Blender startup in some cases. 2013-12-31 00:17:38 +01:00
GHOST_SystemWin32.h Fix some harmless warnings that mostly appeared on MinGW64 2014-01-13 04:28:51 +02:00
GHOST_SystemX11.cpp Fix T38190: Linux tablet: Issue with XInput/GHOST? 2014-01-13 17:51:17 +01:00
GHOST_SystemX11.h code cleanup: pass event by pointer to getClipboard_xcout 2013-07-19 10:40:27 +00:00
GHOST_TaskbarWin32.h Fix some harmless warnings that mostly appeared on MinGW64 2014-01-13 04:28:51 +02:00
GHOST_TimerManager.cpp code cleanup: 0 --> NULL 2013-03-08 06:32:00 +00:00
GHOST_TimerManager.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_TimerTask.h code cleanup: 0 --> NULL 2013-03-08 06:32:00 +00:00
GHOST_Window.cpp fix for fullscreen on X11 (used by the BGE, not blender application), 2013-02-24 05:05:29 +00:00
GHOST_Window.h BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost. 2013-07-29 22:31:32 +00:00
GHOST_WindowCocoa.h name cocoa functions in keeping with convention with similar functions for other ghost classes. 2013-09-29 13:14:09 +00:00
GHOST_WindowCocoa.mm code cleanup: case & brace placement 2013-07-19 10:40:43 +00:00
GHOST_WindowManager.cpp fix for fullscreen on X11 (used by the BGE, not blender application), 2013-02-24 05:05:29 +00:00
GHOST_WindowManager.h code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
GHOST_WindowNULL.h fix [#34900] Building blender as a python module is broken in trunk 2013-04-08 05:01:35 +00:00
GHOST_WindowSDL.cpp Ghost_SDL: Fixing the DEF_CURSOR macro so it works in release builds. 2013-09-04 21:57:14 +00:00
GHOST_WindowSDL.h Adding support for enabling/disabling vsync to Ghost_SDL. 2013-08-29 22:48:31 +00:00
GHOST_WindowWin32.cpp Fix some harmless warnings that mostly appeared on MinGW64 2014-01-13 04:28:51 +02:00
GHOST_WindowWin32.h Fix some harmless warnings that mostly appeared on MinGW64 2014-01-13 04:28:51 +02:00
GHOST_WindowX11.cpp Typo in variable name from previous commit, sorry. 2013-10-03 16:39:30 +00:00
GHOST_WindowX11.h BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost. 2013-07-29 22:31:32 +00:00