I have input from an Xbox controller and I want to use one of the buttons to switch a toggle box on and off. I managed to get a patch that took a bang and alternated the output between 1 and 0 but then I realised that the input the controller was giving me was two bangs at a time. So is there a way that I can have the patch alternate between 1 and 0 ever other bang? Or is there a way I can ditch the second bang?
I have attached an example of what I am doing.