Skip to content

Commit

Permalink
2024-03-16-hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei-1 committed Mar 16, 2024
1 parent dbf48b5 commit f68b2d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions index-mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
<script src="ol3dc/js/entry/entry-manager.js"></script>
<script src="ol3dc/js/effect/blur.js"></script>
<script src="ol3dc/js/effect/frontlight.js"></script>
<script src="ol3dc/js/effect/toplight.js"></script>
<script src="ol3dc/js/effect/backlight.js"></script>
<script src="ol3dc/js/effect/rain.js"></script>
<script src="ol3dc/js/effect/effect-manager.js"></script>
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
<script src="ol3dc/js/vrm/vrm-manager.js"></script>
<script src="ol3dc/js/control/health-manager.js"></script>
<script src="ol3dc/js/control/control-manager.js"></script>
<script src="ol3dc/js/control/hotkey.js"></script>
<script>

// start camera, load resources, link things
Expand Down
2 changes: 1 addition & 1 deletion ol3dc
Submodule ol3dc updated 1 files
+55 −0 js/control/hotkey.js
4 changes: 4 additions & 0 deletions src/js/interface/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ function setLogAPI(saveString){
console.log("API Call Error");
}
}

function onKeyUpHook(f){
document.addEventListener("keyup", f);
}

0 comments on commit f68b2d6

Please sign in to comment.