Arduino Keypad library with better transition monitoring