[alsa-devel] [PATCH] ALSA: usb/caiaq: fix Traktor Kontrol X1 ABS_HAT2X axis
Takashi Iwai
tiwai at suse.de
Tue May 25 20:26:55 CEST 2010
At Mon, 24 May 2010 23:09:02 +0200,
Daniel Mack wrote:
>
> Ping - Just to make sure this isn't getting lost :)
Yeah, applied now. Thanks.
Takashi
>
> On Thu, May 20, 2010 at 02:15:04PM +0200, Daniel Mack wrote:
> > Signed-off-by: Daniel Mack <daniel at caiaq.de>
> > ---
> > sound/usb/caiaq/input.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/sound/usb/caiaq/input.c b/sound/usb/caiaq/input.c
> > index 8bbfbfd..dcb6207 100644
> > --- a/sound/usb/caiaq/input.c
> > +++ b/sound/usb/caiaq/input.c
> > @@ -171,7 +171,7 @@ static void snd_caiaq_input_read_analog(struct snd_usb_caiaqdev *dev,
> > input_report_abs(input_dev, ABS_HAT0Y, (buf[4] << 8) | buf[5]);
> > input_report_abs(input_dev, ABS_HAT1X, (buf[12] << 8) | buf[13]);
> > input_report_abs(input_dev, ABS_HAT1Y, (buf[2] << 8) | buf[3]);
> > - input_report_abs(input_dev, ABS_HAT2X, (buf[15] << 8) | buf[15]);
> > + input_report_abs(input_dev, ABS_HAT2X, (buf[14] << 8) | buf[15]);
> > input_report_abs(input_dev, ABS_HAT2Y, (buf[0] << 8) | buf[1]);
> > input_report_abs(input_dev, ABS_HAT3X, (buf[10] << 8) | buf[11]);
> > input_report_abs(input_dev, ABS_HAT3Y, (buf[6] << 8) | buf[7]);
> > --
> > 1.7.1
> >
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list