enable black side buttons on Contour ShuttlePro v2 in kino

Hendrik Tews <[email protected]> Tue, 22 Jun 2010 22:43:37 +0200
Newsgroups gmane.comp.video.kino.devel
Message-ID <[email protected]>
Hi,

attached is a patch that enables the two black side buttons on
the Contour ShuttlePro v2 (see picture at
http://retail.contourdesign.com/?/products/23). I guess this
patch will not break older ShuttlePro's (which lack these black
side buttons) because additional, non-existing buttons are mostly
ignored by kino.


Big thanks to all kino developers!! I like and use(d) kino a lot.

Bye,

Hendrik

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________
Kino-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kino-dev
kino-shuttle-pro.patch (application/octet-stream, 381 B)
--- /tmp/tews/kino-1.3.4/src/mediactrl.c	2007-02-20 07:05:34.000000000 +0100
+++ src/mediactrl.c	2010-06-22 21:24:10.000000000 +0200
@@ -53,6 +53,8 @@
 	{ 0x10a, "Button 11", MEDIA_CTRL_B7 },
 	{ 0x10b, "Button 12", MEDIA_CTRL_B8 },
 	{ 0x10c, "Button 13", MEDIA_CTRL_B9 },
+	{ 0x10d, "Button 14", MEDIA_CTRL_B10 },
+	{ 0x10e, "Button 15", MEDIA_CTRL_B11 },
 	{ 0, NULL, 0 }
 };