<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Carlos Garnacho &#187; gtk+</title>
	<atom:link href="http://blogs.gnome.org/carlosg/tag/gtk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/carlosg</link>
	<description>Just another GNOME Blogs weblog</description>
	<lastBuildDate>Fri, 09 Oct 2009 16:05:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>More multitouchy fun</title>
		<link>http://blogs.gnome.org/carlosg/2009/01/19/more-multitouchy-fun/</link>
		<comments>http://blogs.gnome.org/carlosg/2009/01/19/more-multitouchy-fun/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 22:06:34 +0000</pubDate>
		<dc:creator>carlosg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[gtk+]]></category>
		<category><![CDATA[mpx]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/carlosg/?p=48</guid>
		<description><![CDATA[Sorry, nothing related to sex! Since my previous post, I didn&#8217;t actually hack much on getting MPX working, mostly blocking on the lack of ideas about a good API. That was until ImendioConf, where a talk with Richard about the subject made ideas start flowing, so here&#8217;s my late christmas present!
http://github.com/garnacho/gtk-mpx/tree/mpx
Besides making GDK use XInput [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry, nothing related to sex! Since my <a href="http://blogs.gnome.org/carlosg/2008/07/21/post-guadec-hack/">previous post</a>, I didn&#8217;t actually hack much on getting <a href="http://en.wikipedia.org/wiki/MPX">MPX</a> working, mostly blocking on the lack of ideas about a good API. That was until ImendioConf, where a talk with <a href="http://people.imendio.com/richard/">Richard</a> about the subject made ideas start flowing, so here&#8217;s my late christmas present!</p>
<p><a href="http://github.com/garnacho/gtk-mpx/tree/mpx">http://github.com/garnacho/gtk-mpx/tree/mpx</a></p>
<p>Besides making GDK use XInput 2.0, The main change is at the GtkWidget level, I&#8217;ve introduced GtkDeviceGroup and the &#8220;multidevice-event&#8221; signal. GtkDeviceGroup is just a container for GdkDevices, each widget can have several GtkDeviceGroups. The &#8220;multidevice-event&#8221; reports grouped motion events for the devices contained in a GtkDeviceGroup, it also provides hints about the latest event that happened and whether a device was just added,removed or updated.</p>
<p>The idea is, a widget would add devices to a group on button-press, enter-notify&#8230; remove them on button-release, leave-notify&#8230; and would get grouped motion events for all these devices in between. In the repo there are also a couple of <a href="http://github.com/garnacho/gtk-mpx/tree/0b8ffb6953b84a6d1d3741f52e9c7b5dda8a8abd/tests/mpx">test apps</a> to show this working.</p>
<p>Obviously, there are quite some things left, I&#8217;ve collected missing stuff I&#8217;ve identified <a href="http://live.gnome.org/GTK%2B/MPX">in the wiki</a>, so if you feel curious about multitouch, <a href="http://www.x.org/wiki/JhBuildInstructions">compile xorg</a> and help out!</p>
<p>And now of course, some videos of the examples <img src='http://blogs.gnome.org/carlosg/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.gnome.org/~carlosg/oggs/testcoordinate.ogg"><img src="http://www.gnome.org/~carlosg/oggs/testcoordinate.png" /></a>   <a href="http://www.gnome.org/~carlosg/oggs/testphotoalbum.ogg"><img src="http://www.gnome.org/~carlosg/oggs/testphotoalbum.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/carlosg/2009/01/19/more-multitouchy-fun/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
