A, W, S, D : move
left click: place blue portal
right click: place yellow portal

Source code on GitHub.