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
--8NvZYKFJsRX2Djef Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? >=20 > I tried out usbhidaction with something like: > Generic_Desktop:Game_Pad.Button:Button_1 1 1 /bin/echo -n ls >=20 > 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. --8NvZYKFJsRX2Djef Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHi0LptKVK1sFb0ecRAj0NAJ0XlOfWKZN30ygFQuQfH4efu2ffVgCfbN/N cS6U/EmZe8/wuPX+yGUCSs4= =wf+E -----END PGP SIGNATURE----- --8NvZYKFJsRX2Djef--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080114110929.GB887>