lib/urix/urix.rb
# Closes the interface and frees it to be used by something
# else. Important to call at the end of program.
Closes the interface and frees it to be used by something
else. Important to call at the end of program.
Closes the interface and frees it to be used by something else . Important to call at the end of program .
def close_interface
			@handle.release_interface( HID_INTERFACE )
			@handle.attach_kernel_driver(HID_INTERFACE)
			@handle.close
		end
def close_interface @handle . release_interface ( HID_INTERFACE ) @handle . attach_kernel_driver ( HID_INTERFACE ) @handle . close end
Closes the interface and frees it to be used by something
else.
Closes the interface and frees it to be used by something else .