musicpal: Rework GPIO input events