(self, effect)
return ff_id
Upload a force feedback effect to a force feedback device.
Upload a force feedback effect to a force feedback device.
Upload a force feedback effect to a force feedback device .
def upload_effect(self, effect):
        '''
        Upload a force feedback effect to a force feedback device.
        '''

        data = memoryview(effect).tobytes()
        ff_id = _input.upload_effect(self.fd, data)
        return ff_id
def upload_effect ( self , effect ) : data = memoryview ( effect ) . tobytes ( ) ff_id = _input . upload_effect ( self . fd , data ) return ff_id