13
0
livetrax/libs/surfaces/powermate
Carl Hetherington 79f91c7a20 Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty.
LOADING 2.X SESSIONS WITH THIS COMMIT IN PLACE WILL (PROBABLY) CORRUPT THE .ardour FILE,
MAKING THE SESSION UNLOADABLE ON 2.X AND LOSING INFORMATION.

So don't do that unless you make a backup of the session file first.



git-svn-id: svn://localhost/ardour2/branches/3.0@5786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15 00:57:55 +00:00
..
interface.cc Fix some unused parameter warnings. 2009-07-21 15:55:17 +00:00
powermate.cc Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty. 2009-10-15 00:57:55 +00:00
powermate.h Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty. 2009-10-15 00:57:55 +00:00
README
SConscript
wscript massive changes to waf build scripts so that nearly everything "should" be working now except for i18n (OSC is not quite right) ; some preliminary work on post-main-out handling, incomplete; a couple of fixes from -Wall and valgrind 2009-07-17 22:12:21 +00:00

This module works with the Griffin Powermate and allows some basic transport control.

It autodetects the Powermate on any input device of the form "/dev/input/event*".  This means you must have the powermate module in your kernel.  It works out-of-the-box with 64Studio and presumably lots of other modern distributions.

Turning the wheel left and right will act as a "Shuttle" wheel, adjusting playback speed up and down
Pushing the knob will switch between play and stop
Pushing the knob while turning will jump to the next or previous markers


In order for the powermate to work, you have to have permission to open the input device for reading.
In debian, I changed /etc/udev/rules.d/0_permissions.rules to have the line:
KERNEL=="event[0-9]*", 		MODE="0666"
but there are other ways to achieve this


Feedback, tweaks, bug fixes and feature ideas are encouraged

-Ben Loftis, ben@benloftis.com