On Thu, Jul 02, 2009 at 06:34:00PM +0300, Risto H. Kurppa wrote:

> I was thinking of using the audio jack or to be more specific, the
> microphone line. Each revolution would connect the wires (with a
> resistor maybe?) to create a pulse in the microphone line. This could
> be recorded and analyzed with SW.

   It's okay to short the mic input to ground. With mic bias voltage enabled
(an ALSA control somewhere) you should get key presses and releases reported
in /dev/input/event*.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to