The mouse buttons are emulated by the A (left click) and B (right click) buttons.
The right click can also be emulated by holding one of the shoulder buttons and tapping on the screen.
This behaviour can be inversed in the options.