Reinterpret gamepad input as keyboeard input

Timothy Bourke timbob at bigpond.com
Mon Jan 14 12:03:32 PST 2008


On Jan 14 at 08:12 +0100, Christopher Illies wrote:
> I have a gamepad and would like to make certain gamepad actions to be
> seen as regular keyboard input. Is this possible?
> 
> 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.

Would vkbd(4) do the trick?

Tim.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080114/f2b2031f/attachment.pgp


More information about the freebsd-questions mailing list