From owner-freebsd-x11@FreeBSD.ORG Fri Apr 2 10:57:05 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90C9116A4CE; Fri, 2 Apr 2004 10:57:05 -0800 (PST) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E5CC43D31; Fri, 2 Apr 2004 10:57:05 -0800 (PST) (envelope-from kitsune@gmx.co.uk) Received: from vixen42 ([68.109.49.234]) by lakemtao05.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040402185702.HDCP21704.lakemtao05.cox.net@vixen42>; Fri, 2 Apr 2004 13:57:02 -0500 Date: Fri, 2 Apr 2004 10:54:23 -0600 From: kitsune To: Vulpes Velox Message-Id: <20040402105423.3abe78b9@vixen42.> In-Reply-To: <20040401155005.3ab847e8@vixen42.> References: <20040401155005.3ab847e8@vixen42.> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: freebsd-x11@freebsd.org Subject: Re: uhid devices X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 18:57:05 -0000 On Thu, 1 Apr 2004 15:50:05 -0600 Vulpes Velox wrote: > What would be the simplest way to get input from a uhid device and > then feed it to X as keyboard input, mainly aimed at X? > > I am currently trying to find a nice starting place to looking at > how to go about from a usb joypad and mapping it as keyboard in put. Well getting it working went far smoother than expected... did not require any wrapper code or any thing... Just stuck it in the X config as a keyboard and it worked perfectly. The only thing to do now is look into remapping they keys on it.