HID: ntrig: change default value of logical/physical width/height to 1
[deliverable/linux.git] / drivers / hid / hid-ntrig.c
index 9fae2ebdd7586c0cbc49830763a1d9fd232f95db..86a969f6329297f9b34c9866b1bb39c5a0c85638 100644 (file)
@@ -882,10 +882,10 @@ static int ntrig_probe(struct hid_device *hdev, const struct hid_device_id *id)
        nd->activate_slack = activate_slack;
        nd->act_state = activate_slack;
        nd->deactivate_slack = -deactivate_slack;
-       nd->sensor_logical_width = 0;
-       nd->sensor_logical_height = 0;
-       nd->sensor_physical_width = 0;
-       nd->sensor_physical_height = 0;
+       nd->sensor_logical_width = 1;
+       nd->sensor_logical_height = 1;
+       nd->sensor_physical_width = 1;
+       nd->sensor_physical_height = 1;
 
        hid_set_drvdata(hdev, nd);
 
This page took 0.027026 seconds and 5 git commands to generate.