Button controller for raspberry pi software