somewhat working keyboard control of the square