Merge branches 'for-5.2/fixes', 'for-5.3/doc', 'for-5.3/ish', 'for-5.3/logitech'...
authorJiri Kosina <jkosina@suse.cz>
Tue, 9 Jul 2019 23:39:57 +0000 (01:39 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 9 Jul 2019 23:39:57 +0000 (01:39 +0200)
1  2  3  4  5 
drivers/hid/hid-ids.h
drivers/hid/hid-lg.c
drivers/hid/hid-logitech-dj.c
drivers/hid/hid-logitech-hidpp.c
drivers/hid/hid-quirks.c
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@@@@ -1290,26 -1286,26 -1286,26 -1275,23 -1277,24 +1288,25 @@@@@@ static void wacom_intuos_pro2_bt_pen(st
                                                 get_unaligned_le16(&frame[11]));
                        }
                }
---  
   --           input_report_abs(pen_input, ABS_PRESSURE, get_unaligned_le16(&frame[5]));
   -            if (wacom->features.type == INTUOSP2_BT) {
    -           if (wacom->features.type == INTUOSP2_BT ||
    -               wacom->features.type == INTUOSP2S_BT) {
   --                   input_report_abs(pen_input, ABS_DISTANCE,
   --                                    range ? frame[13] : wacom->features.distance_max);
   --           } else {
   --                   input_report_abs(pen_input, ABS_DISTANCE,
   --                                    range ? frame[7] : wacom->features.distance_max);
   --           }
   ++           if (wacom->tool[0]) {
   ++                   input_report_abs(pen_input, ABS_PRESSURE, get_unaligned_le16(&frame[5]));
   ++                   if (wacom->features.type == INTUOSP2_BT) {
   ++                           input_report_abs(pen_input, ABS_DISTANCE,
   ++                                            range ? frame[13] : wacom->features.distance_max);
   ++                   } else {
   ++                           input_report_abs(pen_input, ABS_DISTANCE,
   ++                                            range ? frame[7] : wacom->features.distance_max);
   ++                   }
     
   --           input_report_key(pen_input, BTN_TOUCH, frame[0] & 0x01);
   --           input_report_key(pen_input, BTN_STYLUS, frame[0] & 0x02);
   --           input_report_key(pen_input, BTN_STYLUS2, frame[0] & 0x04);
   ++                   input_report_key(pen_input, BTN_TOUCH, frame[0] & 0x09);
   ++                   input_report_key(pen_input, BTN_STYLUS, frame[0] & 0x02);
   ++                   input_report_key(pen_input, BTN_STYLUS2, frame[0] & 0x04);
     
   --           input_report_key(pen_input, wacom->tool[0], prox);
   --           input_event(pen_input, EV_MSC, MSC_SERIAL, wacom->serial[0]);
   --           input_report_abs(pen_input, ABS_MISC,
   --                            wacom_intuos_id_mangle(wacom->id[0])); /* report tool id */
   ++                   input_report_key(pen_input, wacom->tool[0], prox);
   ++                   input_event(pen_input, EV_MSC, MSC_SERIAL, wacom->serial[0]);
   ++                   input_report_abs(pen_input, ABS_MISC,
   ++                                    wacom_intuos_id_mangle(wacom->id[0])); /* report tool id */
   ++           }
     
                wacom->shared->stylus_in_proximity = prox;
     
Simple merge