How to make the right part of the screen is used to rotate without a joystick

how to make the right part of the screen is used to rotate without a joystick?