add multi-input detection and open/close functions for GPIO and PMIC keys