What is the keystroke to rotate an Android tablet emulator? (landscape or portrait mode)

Android FAQ: What is the keystroke to rotate an Android tablet emulator into landscape or portrait mode?

Landscape mode

I don’t know about other platforms (like Windows or Linux), but the keystroke to rotate an Android tablet emulator into landscape mode on a Mac laptop is fn-ctrl-f12.

Portrait mode

As a result, you might guess that keystroke to rotate the emulator back into portrait mode is fn-ctrl-f11.

Other Mac keyboards/keystrokes

This assumes that your Mac laptop has a fn key. If you don’t have that key on your keyboard, your keystrokes should just be ctrl-f12 and ctrl-f11.