I guess using two shift register like the 74hc595 and four buttons. But I'm a pretty NooB with electronics