#NEWLINE# def get_physical_descriptor( self ) : #NEWLINE# #INDENT# 'Returns physical HID device descriptor\n        ' #NEWLINE# raw_data_type = ( c_ubyte * 1024 ) #NEWLINE# raw_data = raw_data_type ( ) #NEWLINE# if hid_dll . HidD_GetPhysicalDescriptor ( self . hid_handle , byref ( x ) , 1024 ) : #NEWLINE# #INDENT# return [ x for x in raw_data ] #NEWLINE# #UNINDENT# return [ ]