Use Arrow Keys or WASD to move. Click the wheel to turn it and open the gate.
Uhh... I'm not sure what else to add to this, so it's a Work in Progress right now!