first tries of implementation of the keyboard mode, SPI slight changed