Reinterpret gamepad input as keyboeard input

Christopher Illies christopher.illies at ki.se
Sun Jan 13 23:42:43 PST 2008


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



More information about the freebsd-questions mailing list