Lines Matching refs:global_data
153 def event(self, slots, global_data=None, contact_count=None, incr_scantime=True): argument
160 if global_data is None:
161 global_data = Data()
163 global_data.contactcount = len(slots)
165 global_data.contactcount = contact_count
166 global_data.scantime = self.scantime
170 application=self.cur_application, data=slots, global_data=global_data
174 global_data.contactcount = 0
277 global_data = Data()
278 global_data.b1 = 1 if self.clickpad_state else 0
279 global_data.b2 = 1 if self.left_state else 0
280 global_data.b3 = 1 if self.right_state else 0
285 return super().event(slots, global_data, contact_count, incr_scantime)
496 def create_report(self, data, global_data=None, reportID=None, application=None): argument
501 return super().create_report(data, global_data=global_data, reportID=3)