#NEWLINE# def __init__( self , hid_object , raw_report_size ) : #NEWLINE# #INDENT# threading . Thread . __init__ ( self ) #NEWLINE# self . __abort = False #NEWLINE# self . __active = False #NEWLINE# self . hid_object = hid_object #NEWLINE# self . report_queue = hid_object . _input_report_queue #NEWLINE# hid_handle = int ( hid_object . hid_handle ) #NEWLINE# self . raw_report_size = raw_report_size #NEWLINE# self . __h_read_event = None #NEWLINE# self . __abort_lock = threading . RLock ( ) #NEWLINE# if ( hid_object and hid_handle and self . raw_report_size and self . report_queue ) : #NEWLINE# #INDENT# self . daemon = True #NEWLINE# self . start ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# hid_object . close ( )