Joystick controller uses button 5 for a dead man's switch. When released though it retains the latest motor values (if you were going full speed forward and let go of the controller, it will continue going forward). Line 38/39 in the node resets to zero if not right state, but that line is only reached through the preceding if-statement that checks right_state. At least that's what I seemed to notice through my limited usage of it and cursory glance of the node, let me know if there is no actual problem and I can't science.