Reinterpret gamepad input as keyboeard input

Christian Baer christian.baer at uni-dortmund.de
Mon Jan 14 04:17:03 PST 2008


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


More information about the freebsd-questions mailing list