mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 17:05:07 +02:00
Clean up code in tabletHelp.html
This commit is contained in:
parent
05939f8a7c
commit
1bd978e4c3
1 changed files with 4 additions and 9 deletions
|
@ -137,29 +137,24 @@
|
||||||
switch (params.handControllerName) {
|
switch (params.handControllerName) {
|
||||||
case "oculus":
|
case "oculus":
|
||||||
handControllerImageURL = "img/tablet-help-oculus.jpg";
|
handControllerImageURL = "img/tablet-help-oculus.jpg";
|
||||||
index = 0;
|
|
||||||
break;
|
break;
|
||||||
case "windowsMR":
|
case "windowsMR":
|
||||||
handControllerImageURL = "img/tablet-help-windowsMR.jpg";
|
handControllerImageURL = "img/tablet-help-windowsMR.jpg";
|
||||||
index = 0;
|
|
||||||
break;
|
break;
|
||||||
case "vive":
|
case "vive":
|
||||||
handControllerImageURL = "img/tablet-help-vive.jpg";
|
handControllerImageURL = "img/tablet-help-vive.jpg";
|
||||||
index = 0;
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (params.defaultTab) {
|
switch (params.defaultTab) {
|
||||||
|
case "handControllers":
|
||||||
|
showHandControllers();
|
||||||
|
index = 0;
|
||||||
|
break;
|
||||||
case "gamepad":
|
case "gamepad":
|
||||||
showGamepad();
|
showGamepad();
|
||||||
index = 1;
|
index = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "handControllers":
|
|
||||||
showHandControllers();
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "kbm":
|
case "kbm":
|
||||||
default:
|
default:
|
||||||
showKbm();
|
showKbm();
|
||||||
|
|
Loading…
Reference in a new issue