Skip to main content
Up and Coming
February 9, 2014

OVR lib : What is the code for pressing SPACE ?

Hey guys,

I am analyzing the code of the Unity scripts provided with the Rift, and I can't find the code describing the display of the menu when pressing 'space'.
If I deactivate the OVR Main Menu script, it does not appear when pressing space; but in all OVR scripts, there is no mention of (Input.GetKeyDown...) which relates to pressing space...

Could you tell me where to find it ?


Thanks !
    This topic has been closed for replies.

    2 replies

    Inspiring
    February 9, 2014
    I ran into this one a while ago myself. Kept searching for KeyCode.Space. Then I realize they did it differently for this bit:

    	void GUIShowVRVariables()
    {
    bool SpaceHit = Input.GetKey("space");


    Hope that helps.
    Titans of Space PLUS for Quest is now available on DrashVR.com
    Up and Coming
    February 9, 2014
    thank you !