From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: adding xpad support for PS-PC Smart Joypad Date: Fri, 15 Jan 2016 16:43:46 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-oi0-f50.google.com ([209.85.218.50]:36041 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161163AbcAPAnr (ORCPT ); Fri, 15 Jan 2016 19:43:47 -0500 Received: by mail-oi0-f50.google.com with SMTP id o124so136784332oia.3 for ; Fri, 15 Jan 2016 16:43:47 -0800 (PST) In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: "Allen M." Cc: "linux-input@vger.kernel.org" Hi Allen, On Fri, Jan 15, 2016 at 9:42 AM, Allen M. wrote: > Hello, I have a Playstation 1 to USB device I'd like to request to be added > as an xpad supported device. verbose lsusb output for the device can be > found here: http://ix.io/nq3 > > The device currently works fine as a generic joystick. However, it needs > the MAP_DPAD_AS_BUTTONS option in order for it to be used with a dance pad. > Let me know if I need to do anything further or if I need to provide more > info for the device. This looks like a generic HID device, not Xbox device, so xpad driver would be wrong one to add it to. Can you have UDEV rule to remap buttons form userspace when the device is discovered, similarly to what we do for keyboards? Thanks. -- Dmitry