How to use default input manipulation of the Editor?

Hi~I’ve got a problem on default input. In my editor, I can use WSAD to move around with my right mouse pressed, and I can use F to focus on one certain object if I’ve selected it. How can I transplant these manipulation directly to my game? Is there any easy way? Thank you!