Add more optional fields to Measurement

BUG=b:148627899
TEST=Use in DUT and test control software. Run tests and view
results.

Change-Id: Ic574a5f6a664e1804d2461740fd2cb9bb9d2a0e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/optofidelity_protocols/+/2528749
Tested-by: Sean O'Brien <seobrien@chromium.org>
Auto-Submit: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Commit-Queue: Harry Cutts <hcutts@chromium.org>
diff --git a/dut.py b/dut.py
index 4142176..060af20 100644
--- a/dut.py
+++ b/dut.py
@@ -10,8 +10,10 @@
 
 Measurement = namedtuple('Measurement', ['panel_x', 'panel_y', 'pressure',
                                          'finger_id', 'delay', 'time', 'event',
-                                         'yaw', 'tilt', 'UNKNOWN'])
-Measurement.__new__.__defaults__ = (0.0,) * 3
+                                         'yaw', 'tilt', 'UNKNOWN',
+                                         'touch_major', 'touch_minor',
+                                         'tool_type', 'button_pressed'])
+Measurement.__new__.__defaults__ = (0.0,) * 7
 Axis = namedtuple('Axis', ['min', 'max', 'resolution'])
 DUTConfig = namedtuple('DUTConfig', ['client_id', 'x', 'y', 'pressure',
                                      'touch_major', 'touch_minor'])