Hi,
 I've patched and compiled on mac OSX 10.6, it works great!

 Can we have other axis to rotate the view when doing the circle
gesture? it's really weird in default cam view because it is rotating
against what seems to be the camera normal (?). but again, it's an
excellent progress :)

 another comment is that when pinching it zooms way too fast for me :)

Thanks for the new years gift :-)

Shaul

p.s. do you have commit rights?

On Sun, Jan 3, 2010 at 12:59 PM, Damien Plisson <[email protected]> wrote:
> Hi all,
>
> During the vacation time, I was stuck in an Internet-free place (an issue), 
> but without a mouse (more serious issue), so to keep my Blender experience as 
> good as possible, I needed to get these shiny trackpad multitouch features 
> operational !
> So, based on trackpad pan work initiated by James Deery [his mail of Nov 5th 
> 2009], I've implemented the handling of the trackpad 2-fingers gestures :
>
> - 2 fingers scroll (MOUSEPAN / GHOST_kTrackpadEventScroll event) pans the view
> - 2 fingers pinch (MOUSEZOOM / GHOST_kTrackpadEventMagnify event) zooms the 
> view
> And in 3D view:
> - alt + 2 fingers scroll rotates the view
> - 2 fingers rotation (MOUSEROTATE / GHOST_kTrackpadEventRotate) rotates the 
> view around the axis orthogonal to the screen (the 3rd axis !)
>
> This is currently fully implemented for OSX (GHOST Cocoa fires the new 
> events), but there must be some PC laptops with similar features that'll take 
> advantage of this... PC users, can you confirm ? (I remember using a laptop 
> with the 2D scroll features on its trackpad).
> FYI, OSX implementation compiles from 10.4, though the
>
> In Ghost, I've currently implemented an auto-detection of the source 
> peripheral, so that a regular mouse still sends MOUSEWHEEL events.
> Apple special mice behave like trackpad (not configurable from documented 
> API), so the mighty mouse trackball sends 2D scroll events. And the magic 
> mouse touch gestures must be like trackpad's.
>
> Do you think it should be kept in "auto" mode (wheel events for regular 
> mouse, scroll/zoom/rotate events for trackpad/special mouse), or be an option 
> user configurable ?
>
> I've posted this as patch #20555 in the patch tracker : 
> https://projects.blender.org/tracker/index.php?func=detail&aid=20555&group_id=9&atid=127
> for your reviews, comments & suggestions.
>
> Damien
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
>
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to