Adding a repeat rate to game controller input with Apple's Combine
gamedev.kirsteins.me