Input: whitespace fixes in drivers/usb/input
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
@@ -79,12 +79,12 @@ static void kbtab_irq(struct urb *urb, struct pt_regs *regs)
|
||||
/*input_report_key(dev, BTN_TOUCH , data[0] & 0x01);*/
|
||||
input_report_key(dev, BTN_RIGHT, data[0] & 0x02);
|
||||
|
||||
if( -1 == kb_pressure_click){
|
||||
if (-1 == kb_pressure_click) {
|
||||
input_report_abs(dev, ABS_PRESSURE, kbtab->pressure);
|
||||
} else {
|
||||
input_report_key(dev, BTN_LEFT, (kbtab->pressure > kb_pressure_click) ? 1 : 0);
|
||||
};
|
||||
|
||||
|
||||
input_sync(dev);
|
||||
|
||||
exit:
|
||||
@@ -161,7 +161,7 @@ static int kbtab_probe(struct usb_interface *intf, const struct usb_device_id *i
|
||||
kbtab->dev.absmax[ABS_X] = 0x2000;
|
||||
kbtab->dev.absmax[ABS_Y] = 0x1750;
|
||||
kbtab->dev.absmax[ABS_PRESSURE] = 0xff;
|
||||
|
||||
|
||||
kbtab->dev.absfuzz[ABS_X] = 4;
|
||||
kbtab->dev.absfuzz[ABS_Y] = 4;
|
||||
|
||||
|
Reference in New Issue
Block a user