How create a gamepad share, touch button and options button

How create input for gamepad controller share, mega touch options button. The image is under post.

From what i have used the share and options buttons will be the gamepad left and right special buttons,

this works on a XBOX360 Controller anyway