lkml.org 
[lkml]   [2002]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] 2.4.19-pre8 Fix for Intuos tablet in wacom.c
    Date

    The changes between 2.4.19-pre7 and 2.4.18-pre8 broke the Intuos part in
    wacom.c
    This will fix it.

    --- linux/drivers/usb/wacom.c.org Tue May 14 00:40:12 2002
    +++ linux/drivers/usb/wacom.c Tue May 14 00:41:31 2002
    @@ -288,8 +288,8 @@
    x = ((__u32)data[2] << 8) | data[3];
    y = ((__u32)data[4] << 8) | data[5];

    - input_report_abs(dev, ABS_X, wacom->x);
    - input_report_abs(dev, ABS_Y, wacom->y);
    + input_report_abs(dev, ABS_X, wacom->x = x);
    + input_report_abs(dev, ABS_Y, wacom->y = y);
    input_report_abs(dev, ABS_DISTANCE, data[9] >> 4);

    if ((data[1] & 0xb8) == 0xa0) { /* general pen packet */

    Christer Nilsson


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:26    [W:0.025 / U:179.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site