Date: Mon, 14 Jan 2008 22:09:30 +1100 From: Timothy Bourke <timbob@bigpond.com> To: freebsd-questions@freebsd.org Subject: Re: Reinterpret gamepad input as keyboeard input Message-ID: <20080114110929.GB887@triptrop.cse.unsw.EDU.AU> In-Reply-To: <20080114071251.GA11712@Klabautermann.ks.se> References: <20080114071251.GA11712@Klabautermann.ks.se>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHi0LptKVK1sFb0ecRAj0NAJ0XlOfWKZN30ygFQuQfH4efu2ffVgCfbN/N cS6U/EmZe8/wuPX+yGUCSs4= =wf+E -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080114110929.GB887>
