Hi, On macs these scrollwheel events started to get X and Y motion deltas...
-Ton- ------------------------------------------------------------------------ Ton Roosendaal Blender Foundation t...@blender.org www.blender.org Blender Institute Entrepotdok 57A 1018AD Amsterdam The Netherlands On 6 Feb, 2013, at 16:03, Mike Erwin wrote: > Those are PAN subtypes of WM_GESTURE. In older API we see mouse wheel > events, maybe with modifier keys (somebody correct me if wrong). Pinch & > rotate are other subtypes, so if panning works, the others are just as easy > to add. > > But if we can get good smooth deltas from legacy mouse wheel events, that's > probably closer to what you had in mind! > > On Wednesday, February 6, 2013, Ton Roosendaal wrote: > >> Hi Mike, >> >> I don't understand - this basic version of touch is just to support >> 2-finger swipes. Real gestures (pinch, rotate, etc) is another topic. >> >> -Ton- >> >> ------------------------------------------------------------------------ >> Ton Roosendaal Blender Foundation t...@blender.org <javascript:;> >> www.blender.org >> Blender Institute Entrepotdok 57A 1018AD Amsterdam The Netherlands >> >> On 6 Feb, 2013, at 4:04, Mike Erwin wrote: >> >>> Hey Ton & all, >>> >>> I spent the past two weekends working on this for Windows actually, >>> inspired by your Mac trackpad goodness! The code came together fine, >> but... >>> never gets called on the hardware I have. Tested on Wacom Intuos5 and >>> Logitech T650 under Windows 7. From what I understand, the WM_GESTURE >>> message (which we can turn into GHOST events) can not be generated by >>> 3rd-party hardware vendors, until Microsoft sorts it out. It supposedly >>> works with touchscreens, but I don't have one to test. Wacom has a touch >>> API for their stuff, but I can't find any more info for the T650. >>> >>> Another issue is that the Windows touch/gesture APIs are for Win7 and up, >>> so if anyone knows a good way to include those but still be able to >>> build/run on WinXP, please share it. >>> >>> I'll post the short code segment if someone can get it to work. >>> >>> Mike Erwin >>> musician, naturalist, pixel pusher, hacker extraordinaire >>> >>> >>> On Tue, Feb 5, 2013 at 11:42 AM, Ton Roosendaal >>> <t...@blender.org<javascript:;>> >> wrote: >>> >>>> Hi, >>>> >>>> On macs, 2-finger swipes (trackpads, tablets) now get handled nicely. It >>>> sends "trackpad events" from Ghost to blender, to work as smooth as MMB >>>> view manipulations. >>>> >>>> On Blender side code is all fine, but I need someone in Windows and >> Linux >>>> to get the Ghost code sending out the right events for it. (Instead of >>>> scrollwheel events, to send trackpad). >>>> >>>> It should have been done in bcon3, I know - but it's probably just 2-3 >>>> lines in ghost to send the events! And needs tests :) >>>> >>>> -Ton- >>>> >>>> ------------------------------------------------------------------------ >>>> Ton Roosendaal Blender Foundation t...@blender.org <javascript:;> >> www.blender.org >>>> Blender Institute Entrepotdok 57A 1018AD Amsterdam The Netherlands >>>> >>>> _______________________________________________ >>>> Bf-committers mailing list >>>> Bf-committers@blender.org <javascript:;> >>>> http://lists.blender.org/mailman/listinfo/bf-committers >>>> >>> _______________________________________________ >>> Bf-committers mailing list >>> Bf-committers@blender.org <javascript:;> >>> http://lists.blender.org/mailman/listinfo/bf-committers >> >> _______________________________________________ >> Bf-committers mailing list >> Bf-committers@blender.org <javascript:;> >> http://lists.blender.org/mailman/listinfo/bf-committers >> > > > -- > Mike Erwin > musician, naturalist, pixel pusher, hacker extraordinaire > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers