Won't let me send via gmail, such a headache but I did send a request on discord if you want me to send it there for you.
Just as public follow-up, there were no functional edits in the modified version.
There were global functions added to revert/restore the overall input mapping, but this is already available via the API by manipulating Input.gamepadMapper[TSC_RStick_Mouse.parameters.leftClickButton]
(with TSC_RStick_Mouse.INTENT_MOUSE_LEFT
as value that enables the mapping). You can also disable the initial mapping in the plugin settings.
I generally recommend using the API rather than editing plugins in order to make updating them easier.