SDK,VR and Smart Component

Hello,

How to create an allowing with the VR by creating a smart component type push button for example ?