Because this library does not use _unhandled_input and uses directly Input.* it also interferes with GUI when you are typing something in UI, e.g. useful when you have chat in game overlay and you want to temporarly disable input while typing.
Nice! The only change I would do is rename the local_input_enabled to _local_input_enabled since there is "public access" to it through the network.set_local_input_enabled() function.
Because this library does not use _unhandled_input and uses directly Input.* it also interferes with GUI when you are typing something in UI, e.g. useful when you have chat in game overlay and you want to temporarly disable input while typing.
Usage:
network.set_local_input_enabled(true/false)