Just use basic commands for test_spi.py, getting keyboard state in a loop is apparently rocket science in python