Input: add support for generic GPIO-based matrix keypad