Re: [PATCH 2.6.17.11] xpad: dance pad support
From: Greg KH
Date: Thu Sep 21 2006 - 12:27:53 EST
On Thu, Sep 21, 2006 at 11:19:18AM -0400, Adam Buchbinder wrote:
> From: Dominic Cerquetti <binary1230@xxxxxxxxx>
>
> Adds support for dance pads to the xpad driver. Dance pads require the
> d-pad to be mapped to four buttons instead of two axes, so that
> combinations of up/down and left/right can be hit simultaneously.
> Known dance pads are detected, and there is a module parameter added
> to default unknown xpad devices to map the d-pad to buttons if this is
> desired. (dpad_to_buttons). Minor modifications were made to port the
> changes in the original patch to a newer kernel version.
>
> Signed-off-by: Adam Buchbinder <adam.buchbinder@xxxxxxxxx>
> ---
> This patch was originally from Dominic Cerquetti originally written
> for kernel 2.6.11.4, with minor modifications (API changes for USB,
> spelling fixes to the documentation added in the original patch) made
> to apply to the current kernel. I have modified Dominic's original
> patch per some suggestions from Dmitry Torokhov. (There was nothing
> in the patch format description about multiple From: lines, so I
> haven't added myself.)
>
> If there's anything that could be improved about this patch, please
> lease let me know. Thanks!
>
> Documentation/input/xpad.txt | 117 +++++++++++++++++++++++++++--------
> drivers/usb/input/xpad.c | 142 +++++++++++++++++++++++++++++--------------
> 2 files changed, 189 insertions(+), 70 deletions(-)
>
>
> diff -uprN -X linux-2.6.17.11.orig/Documentation/dontdiff linux-2.6.17.11.orig/Documentation/input/xpad.txt linux-2.6.17.11/Documentation/input/xpad.txt
Does this patch still apply to 2.6.18?
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/