Forum Discussion
Hyper_active
12 years agoStart Partner
How to remove in-game calibration menus?
Hi!
Quick question, anyone know how to remove all the key triggers that come with oculus? Especially the "c" key, because I want to use it to crouch, because for now when my character crouches I have that calibration menu that comes up at the same time.
I'm looking through the scripts now to see where it is... But if anyone knows the answer already... :)
Thanks!
Keep on Rifting.
AB
Quick question, anyone know how to remove all the key triggers that come with oculus? Especially the "c" key, because I want to use it to crouch, because for now when my character crouches I have that calibration menu that comes up at the same time.
I'm looking through the scripts now to see where it is... But if anyone knows the answer already... :)
Thanks!
Keep on Rifting.
AB
3 Replies
Replies have been turned off for this discussion
- AnonymousEasiest way to find this is open MonoDevelop. In the file browser on left, right click on Assembly-CSharp->OVR->Scripts and use Find in Files...
Search for 'Get Key'.
You'll find 'C' is bound in OVRCrossHair.cs.
Many of the others are in OVRMainMenu.cs and OVRPlayerController.cs. I would like to see Oculus create a single script that can be instantiated (OVRControl) so the bindings can be controlled/enabled/disabled in the Editor without having to modify the scripts.
ccs - Hyper_activeStart Partner
"ccs" wrote:
You'll find 'C' is bound in OVRCrossHair.cs.
ccs
Perfect! Thanks for the quick assistance.
AB - Hyper_activeStart PartnerJust a short update after trying a few things out, for those who would like to do the same thing.
Removingif(Input.GetKeyDown (KeyCode.C))
from line 204 in OVRCrossHair.cs makes quite a few glitches, and involves removing a lot of other lines to get things working smoothly.
RemovingUpdateFunctions += Crosshair.UpdateCrosshair;
line 313 in OVRMainMenu.cs solved my issue without any glitches.
Again, thanks for the help ccs!
AB
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 11 months ago
- 8 months ago