Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 08:12:51 +0100
From:      Christopher Illies <christopher.illies@ki.se>
To:        freebsd-questions@freebsd.org
Subject:   Reinterpret gamepad input as keyboeard input
Message-ID:  <20080114071251.GA11712@Klabautermann.ks.se>

next in thread | raw e-mail | index | archive | help
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.

Christopher




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080114071251.GA11712>