Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 12:44:24 +0100 (CET)
From:      Christian Baer <christian.baer@uni-dortmund.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Reinterpret gamepad input as keyboeard input
Message-ID:  <fmfhuo$102j$3@nermal.rz1.convenimus.net>
References:  <20080114071251.GA11712@Klabautermann.ks.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Jan 2008 08:12:51 +0100 Christopher Illies wrote:

> I tried out usbhidaction with something like:
> Generic_Desktop:Game_Pad.Button:Button_1 1 1 /bin/echo -n ls
>
> Obviously, this approach does not work as I hoped. "ls" is echoed in a
> shell window, but it is not interpreted as input.

Then use the command directly: /bin/sh -c ls

Regards,
Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fmfhuo$102j$3>