tools/hidraw.py
def info(self) -> DeviceInfo:
        '''
        Device info of the hidraw node
        '''
        dev_info = self.hidraw_devinfo.from_buffer(
                   IOCTL.IOR('H', self.HIDIOCGRAWINFO, ctypes.sizeof(self.hidraw_devinfo)).perform(self._fd))

        return DeviceInfo(dev_info.bustype, dev_info.vendor, dev_info.product)

        Device info of the hidraw node
        
Device info of the hidraw node
Device info of the hidraw node
def info(self) -> DeviceInfo:
        dev_info = self.hidraw_devinfo.from_buffer(
                   IOCTL.IOR('H', self.HIDIOCGRAWINFO, ctypes.sizeof(self.hidraw_devinfo)).perform(self._fd))
        return DeviceInfo(dev_info.bustype, dev_info.vendor, dev_info.product)
def info ( self ) -> DeviceInfo : dev_info = self . hidraw_devinfo . from_buffer ( IOCTL . IOR ( 'H' , self . HIDIOCGRAWINFO , ctypes . sizeof ( self . hidraw_devinfo ) ) . perform ( self . _fd ) ) return DeviceInfo ( dev_info . bustype , dev_info . vendor , dev_info . product )
Device info of the hidraw node
Device info of the hidraw node
'''
        Device info of the hidraw node
        '''
self