camera rotation without using joystick

how can i make the first persons camera rotate without using a joystick?

what options for input do you want to use? keyboard? mouse? other?