Moved input to a thread and now measures at less than 1ms of latency for button up and down.