I defined callback functions for each GPIO explicitly and it was working fine. However, this was a bit much boilerplate code for me. Therefore, I just had the idea to realiz