Are you referring to selecting options within a GUI object? If so, take a look at the
GUI canvas page and canvasExample.py script (File > Quick Open: type canvasExample). Using the GUI canvas, set the cursor style to
viz.CANVAS_MOUSE_VIRTUAL and apply updates to the cursor based on oculus remote signals. The example script shows how to manually update the cursor position and send mouse button events using keypresses in the
ManualCursorPositionTask and
ManualCursorButtonTask functions. In your case you would change the keypress checks to button checks.