For whatever reason, I didn't get a notification for this comment. But yes, you have to look at the shapes of the squares that light up.
You also need to put them in the right order. Each of the number inputs corresponds to one of the four quadrants of the maze.