[Bf-committers] Basic touch support for Windows/Linux

Mike Erwin significant.bit at gmail.com
Wed Feb 6 04:04:54 CET 2013

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 <ton at blender.org> 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   ton at blender.org    www.blender.org
> Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The Netherlands
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list