Changed the input polarity in 'keypad::matrix'