each keypress (x and y based movement is processed separately) is put into a binary number, pressed or not pressed, and then that number is feed into a polynomial function which outputs the correct result via hard coded regression