It’s way better to use an arduino board, an arduino micro w/ headers will cost you 25$ plus shipping and you can assign a button to each pin. If that’s too expensive for you, the teensy-LC (low cost) will be 11.65$ plus shipping and it’s more powerful than the arduino while being programmable just the same.