13
0
livetrax/libs/surfaces/powermate
David Robillard 214a31bb98 Fix various MIDI control and installation issues:
* Install ardour3_ui_default.conf to system config dir

 * Set -DDATA_DIR etc. defines to proper absolute paths

 * Set default MIDI control port name to "control"
   (it was "control" some places, "default" other, so the generic MIDI
   control surface didn't work.  The real problem here is probably that
   the name is hardcoded in the surface code, ick)

 * Install surfaces to correct system directory

 * Generate and install ardour_system.rc

User POV:

 * Installed versions not run from the source directory discover configuration
   files and surfaces, and generally work

 * Building and/or starting a fresh copy of ardour3 with no pre-existing
   configuration will run an ardour with a single MIDI "control" port, which
   you can plug a surface into and control MMC and controllers and such
   (after turning on the generic MIDI surface, which IMO should be loaded
    by default anyway, especially since it's no longer in a menu)


git-svn-id: svn://localhost/ardour2/branches/3.0@5833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 23:43:19 +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 rework Stateful::set_state() patch to avoid default version argument 2009-10-15 18:56:11 +00:00
README
SConscript
wscript Fix various MIDI control and installation issues: 2009-10-20 23:43:19 +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