My last pull request added analog "emulation", but it broke inputs as they would keep registering a hit every loop if a button was pressed and held (causing double hits and other weirdness).
This PR makes sure the button is only registered as a hit on the rising edge.
My last pull request added analog "emulation", but it broke inputs as they would keep registering a hit every loop if a button was pressed and held (causing double hits and other weirdness).
This PR makes sure the button is only registered as a hit on the rising edge.