fix -Wmissing-field-initializers warnings

Clang's -Wmissing-field-initializers now complains about missing
initializers in structs init'ed using `.designators`. Fix up about 100
instances of this.

BUG=b:305723283
TEST=FEATURES=test emerge-hana

Change-Id: Ida87c19428aebdeee94eaf4a95f2339f8d0e63d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/5014383
Commit-Queue: Henry Barnor <hbarnor@chromium.org>
Reviewed-by: Henry Barnor <hbarnor@chromium.org>
Tested-by: George Burgess <gbiv@chromium.org>
Code-Coverage: Henry Barnor <hbarnor@chromium.org>
diff --git a/src/box_filter_interpreter_unittest.cc b/src/box_filter_interpreter_unittest.cc
index 55be355..b2f37d7 100644
--- a/src/box_filter_interpreter_unittest.cc
+++ b/src/box_filter_interpreter_unittest.cc
@@ -22,6 +22,7 @@
 static const HardwareProperties hwprops = {
   .right = 100, .bottom = 100,
   .res_x = 1, .res_y = 1,
+  .screen_x_dpi = 0, .screen_y_dpi = 0,
   .orientation_minimum = -1,
   .orientation_maximum = 2,
   .max_finger_cnt = 5, .max_touch_cnt = 5,
diff --git a/src/click_wiggle_filter_interpreter_unittest.cc b/src/click_wiggle_filter_interpreter_unittest.cc
index 89d1a14..a7168d9 100644
--- a/src/click_wiggle_filter_interpreter_unittest.cc
+++ b/src/click_wiggle_filter_interpreter_unittest.cc
@@ -59,6 +59,8 @@
     .bottom = 61,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -131,6 +133,8 @@
     .bottom = 61,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -198,6 +202,8 @@
     .bottom = 61,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -250,6 +256,8 @@
     .bottom = 61,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -314,6 +322,8 @@
     .bottom = 68.000000,
     .res_x = 1.000000,
     .res_y = 1.000000,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
diff --git a/src/finger_merge_filter_interpreter_unittest.cc b/src/finger_merge_filter_interpreter_unittest.cc
index 4920e50..fc804d4 100644
--- a/src/finger_merge_filter_interpreter_unittest.cc
+++ b/src/finger_merge_filter_interpreter_unittest.cc
@@ -54,6 +54,7 @@
   HardwareProperties hwprops = {
     .right = 100, .bottom = 100,
     .res_x = 1, .res_y = 1,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5, .max_touch_cnt = 5,
diff --git a/src/haptic_button_generator_filter_interpreter_unittest.cc b/src/haptic_button_generator_filter_interpreter_unittest.cc
index a57773d..8fef528 100644
--- a/src/haptic_button_generator_filter_interpreter_unittest.cc
+++ b/src/haptic_button_generator_filter_interpreter_unittest.cc
@@ -49,6 +49,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -136,6 +138,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -245,6 +249,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -320,6 +326,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -399,6 +407,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
diff --git a/src/iir_filter_interpreter_unittest.cc b/src/iir_filter_interpreter_unittest.cc
index ce5a5b7..d1c8b8c 100644
--- a/src/iir_filter_interpreter_unittest.cc
+++ b/src/iir_filter_interpreter_unittest.cc
@@ -111,6 +111,7 @@
   HardwareProperties hwprops = {
     .right = 100, .bottom = 60,
     .res_x = 1.0, .res_y = 1.0,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 3,
diff --git a/src/immediate_interpreter_unittest.cc b/src/immediate_interpreter_unittest.cc
index 91146f6..0d4b195 100644
--- a/src/immediate_interpreter_unittest.cc
+++ b/src/immediate_interpreter_unittest.cc
@@ -66,6 +66,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -126,6 +128,8 @@
     .bottom = 1000,
     .res_x = 50,
     .res_y = 50,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -188,6 +192,8 @@
     .bottom = 1000,
     .res_x = 20,
     .res_y = 20,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -245,6 +251,8 @@
     .bottom = 1000,
     .res_x = 20,
     .res_y = 20,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -315,6 +323,8 @@
     .bottom = 1000,
     .res_x = 20,
     .res_y = 20,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -382,6 +392,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -492,6 +504,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -549,6 +563,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -620,6 +636,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -698,6 +716,8 @@
     .bottom = 68.000000,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -864,6 +884,8 @@
     .bottom = 68.000000,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -998,6 +1020,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -1108,6 +1132,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -1174,6 +1200,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -1224,6 +1252,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -1271,6 +1301,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -1309,6 +1341,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -1390,6 +1424,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -1449,6 +1485,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -1787,6 +1825,8 @@
     .bottom = 200,
     .res_x = 1.0,  // pixels/TP width
     .res_y = 1.0,  // pixels/TP height
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -2628,6 +2668,8 @@
     .bottom = 68.000000,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -2714,6 +2756,8 @@
     .bottom = 200,
     .res_x = 1.0,
     .res_y = 1.0,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -2808,6 +2852,8 @@
     .bottom = 200,
     .res_x = 1.0,
     .res_y = 1.0,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -2959,6 +3005,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3049,6 +3097,8 @@
     .bottom = 68.000000,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -3200,6 +3250,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3303,6 +3355,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3446,6 +3500,8 @@
     .bottom = 68.000000,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -3600,6 +3656,8 @@
     .bottom = 48.953846,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3646,6 +3704,8 @@
     .bottom = 57.492310,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3694,6 +3754,8 @@
     .bottom = 48.953846,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3768,6 +3830,8 @@
     .bottom = 48.953846,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3826,6 +3890,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3921,6 +3987,8 @@
     .bottom = 57.492310,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -3988,6 +4056,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
diff --git a/src/interpreter_unittest.cc b/src/interpreter_unittest.cc
index 3acf58c..e0d1cff 100644
--- a/src/interpreter_unittest.cc
+++ b/src/interpreter_unittest.cc
@@ -84,6 +84,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = 1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
diff --git a/src/logging_filter_interpreter_unittest.cc b/src/logging_filter_interpreter_unittest.cc
index 28e000f..fb4ebaa 100644
--- a/src/logging_filter_interpreter_unittest.cc
+++ b/src/logging_filter_interpreter_unittest.cc
@@ -55,6 +55,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
diff --git a/src/lookahead_filter_interpreter_unittest.cc b/src/lookahead_filter_interpreter_unittest.cc
index 83b9241..5aed753 100644
--- a/src/lookahead_filter_interpreter_unittest.cc
+++ b/src/lookahead_filter_interpreter_unittest.cc
@@ -100,6 +100,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -245,6 +247,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5, .max_touch_cnt = 5,
@@ -320,6 +324,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5, .max_touch_cnt = 5,
@@ -374,6 +380,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -426,6 +434,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -520,6 +530,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -600,6 +612,8 @@
     .right = 10, .bottom = 10,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -674,6 +688,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -749,6 +765,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -845,6 +863,8 @@
     .bottom = 65.259262,
     .res_x = 1.000000,
     .res_y = 1.000000,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -938,6 +958,8 @@
     .bottom = 68.000000,
     .res_x = 1.000000,
     .res_y = 1.000000,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -1144,6 +1166,8 @@
     .bottom = 68.000000,
     .res_x = 1.000000,
     .res_y = 1.000000,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -1204,6 +1228,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -1271,6 +1297,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -1328,6 +1356,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
diff --git a/src/metrics_filter_interpreter_unittest.cc b/src/metrics_filter_interpreter_unittest.cc
index d690df9..f078aa3 100644
--- a/src/metrics_filter_interpreter_unittest.cc
+++ b/src/metrics_filter_interpreter_unittest.cc
@@ -14,6 +14,7 @@
 const HardwareProperties hwprops = {
   .right = 100, .bottom = 100,
   .res_x = 1, .res_y = 1,
+  .screen_x_dpi = 0, .screen_y_dpi = 0,
   .orientation_minimum = -1,
   .orientation_maximum = 2,
   .max_finger_cnt = 5, .max_touch_cnt = 5,
diff --git a/src/mouse_interpreter_unittest.cc b/src/mouse_interpreter_unittest.cc
index f15ee49..57267d8 100644
--- a/src/mouse_interpreter_unittest.cc
+++ b/src/mouse_interpreter_unittest.cc
@@ -18,6 +18,8 @@
     .bottom = 0,
     .res_x = 0,
     .res_y = 0,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = 0,
     .orientation_maximum = 0,
     .max_finger_cnt = 0,
diff --git a/src/multitouch_mouse_interpreter_unittest.cc b/src/multitouch_mouse_interpreter_unittest.cc
index 7ff6a49..ba23e40 100644
--- a/src/multitouch_mouse_interpreter_unittest.cc
+++ b/src/multitouch_mouse_interpreter_unittest.cc
@@ -21,6 +21,8 @@
     .left = 133, .top = 728, .right = 10279, .bottom = 5822,
     .res_x = (10279.0 - 133.0) / 100.0,
     .res_y = (5822.0 - 728.0) / 60,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
diff --git a/src/palm_classifying_filter_interpreter_unittest.cc b/src/palm_classifying_filter_interpreter_unittest.cc
index 6d667ad..61c1c88 100644
--- a/src/palm_classifying_filter_interpreter_unittest.cc
+++ b/src/palm_classifying_filter_interpreter_unittest.cc
@@ -51,6 +51,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -129,6 +131,8 @@
     .bottom = 1000,
     .res_x = 500,
     .res_y = 500,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2,
@@ -189,6 +193,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -246,6 +252,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -371,6 +379,8 @@
     .bottom = 68.000000,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
@@ -458,6 +468,8 @@
     .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
diff --git a/src/scaling_filter_interpreter_unittest.cc b/src/scaling_filter_interpreter_unittest.cc
index 69f61f5..6d1c529 100644
--- a/src/scaling_filter_interpreter_unittest.cc
+++ b/src/scaling_filter_interpreter_unittest.cc
@@ -133,6 +133,8 @@
     .left = 133, .top = 728, .right = 10279, .bottom = 5822,
     .res_x = (10279.0 - 133.0) / 100.0,
     .res_y = (5822.0 - 728.0) / 60,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -144,6 +146,8 @@
     .right = 100, .bottom = 60,
     .res_x = 1.0,
     .res_y = 1.0,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -M_PI_4,  // (1 tick above X-axis)
     .orientation_maximum = M_PI_2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -279,6 +283,7 @@
   HardwareProperties initial_hwprops = {
     .right = 2000, .bottom = 1000,
     .res_x = 0, .res_y = 0,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -289,6 +294,7 @@
   HardwareProperties expected_hwprops = {
     .right = 2000 / 32.0, .bottom = 1000 / 32.0,
     .res_x = 1, .res_y = 1,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -M_PI_4,  // (1 tick above X-axis)
     .orientation_maximum = M_PI_2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -430,6 +436,8 @@
     .right = 500, .bottom = 1000,
     .res_x = 5,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -31,
     .orientation_maximum = 32,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
@@ -440,6 +448,7 @@
   HardwareProperties expected_hwprops = {
     .right = 100, .bottom = 100,
     .res_x = 1.0, .res_y = 1.0,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -M_PI * 31 / 64,  // (1 tick above X-axis)
     .orientation_maximum = M_PI_2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
diff --git a/src/sensor_jump_filter_interpreter_unittest.cc b/src/sensor_jump_filter_interpreter_unittest.cc
index 4ec5b21..64a13e5 100644
--- a/src/sensor_jump_filter_interpreter_unittest.cc
+++ b/src/sensor_jump_filter_interpreter_unittest.cc
@@ -61,6 +61,7 @@
   HardwareProperties hwprops = {
     .right = 100, .bottom = 100,
     .res_x = 1, .res_y = 1,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5, .max_touch_cnt = 5,
@@ -123,6 +124,7 @@
   HardwareProperties hwprops = {
     .right = 106.666672, .bottom = 68,
     .res_x = 1, .res_y = 1,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15, .max_touch_cnt = 5,
diff --git a/src/split_correcting_filter_interpreter_unittest.cc b/src/split_correcting_filter_interpreter_unittest.cc
index 993f6dc..a0c6ea8 100644
--- a/src/split_correcting_filter_interpreter_unittest.cc
+++ b/src/split_correcting_filter_interpreter_unittest.cc
@@ -73,6 +73,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -168,6 +170,8 @@
     .right = 100, .bottom = 100,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5,
@@ -323,6 +327,8 @@
     .bottom = 68.0,
     .res_x = 1.0,
     .res_y = 1.0,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 15,
diff --git a/src/stationary_wiggle_filter_interpreter_unittest.cc b/src/stationary_wiggle_filter_interpreter_unittest.cc
index 048e6c4..1ac5e9b 100644
--- a/src/stationary_wiggle_filter_interpreter_unittest.cc
+++ b/src/stationary_wiggle_filter_interpreter_unittest.cc
@@ -61,6 +61,7 @@
   HardwareProperties hwprops = {
     .right = 100, .bottom = 100,
     .res_x = 1, .res_y = 1,
+    .screen_x_dpi = 0, .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 5, .max_touch_cnt = 5,
diff --git a/src/stuck_button_inhibitor_filter_interpreter_unittest.cc b/src/stuck_button_inhibitor_filter_interpreter_unittest.cc
index 0bdd80e..f983f28 100644
--- a/src/stuck_button_inhibitor_filter_interpreter_unittest.cc
+++ b/src/stuck_button_inhibitor_filter_interpreter_unittest.cc
@@ -82,6 +82,8 @@
     .right = 100, .bottom = 100,
     .res_x = 10,
     .res_y = 10,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,
diff --git a/src/t5r2_correcting_filter_interpreter_unittest.cc b/src/t5r2_correcting_filter_interpreter_unittest.cc
index 590ac98..c297457 100644
--- a/src/t5r2_correcting_filter_interpreter_unittest.cc
+++ b/src/t5r2_correcting_filter_interpreter_unittest.cc
@@ -71,6 +71,8 @@
     .right = 10, .bottom = 10,
     .res_x = 1,
     .res_y = 1,
+    .screen_x_dpi = 0,
+    .screen_y_dpi = 0,
     .orientation_minimum = -1,
     .orientation_maximum = 2,
     .max_finger_cnt = 2, .max_touch_cnt = 5,