Blender Git Commit Log
Git Commits -> Revision ad7fab4
Revision ad7fab4 by Campbell Barton (master) September 21, 2009, 05:56 (GMT) |
5 button mouse support from b333rt in IRC with some edits for X11. Tested in X11 where its fairly confusing. buttons 4 and 5 are used for the wheel which is well known, but it seems 6 and 7 are used for horizontal scrolling, my mouse assigns the extra 2 buttons to events 8 & 9. So the X11 events used for buttons called 4&5 in blender are 8&9 in X11. The mouse buttons can be re-ordered like this once xorg starts (swaps 6,7 with 8,9) xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7" Couldn't test Win32, Apple not supported. If someone wants to add horizontal scrolling its quite easy. |
Commit Details:
Full Hash: ad7fab49d4346315cdb3db4bd087714ae45ffc89
SVN Revision: 23385
Parent Commit: e7abdd7
Lines Changed: +54, -2
7 Modified Paths:
/intern/ghost/GHOST_Types.h (+2, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+33, -1) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+6, -1) (Diff)
/source/blender/editors/space_outliner/outliner.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+3, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+33, -1) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+6, -1) (Diff)
/source/blender/editors/space_outliner/outliner.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+3, -0) (Diff)