nope your on the wrong path, there is a specific order, the switches dont move the compass.

the compass have its NORTH 90 degrees to the right.

there are 4 swichtes, think of them placed in 4 directions ( south, west .. and so on)

there is a book which give you this code E.N.S West

which means you ahve to look at the room like on a map where NORTH is to the right, then click the switches in the order east north south west or like your listed code : 1 2 3 4 lol