Przeglądaj źródła

Keyboard Handling [6/8]: Update everything to include the new keyboard handling scripts

jalf 11 lat temu
rodzic
commit
2ea40fdf9a
6 zmienionych plików z 12 dodań i 6 usunięć
  1. 2 0
      debian/novnc.install
  2. 2 2
      include/ui.js
  3. 2 0
      tests/viewport.html
  4. 2 1
      tests/vnc_perf.html
  5. 2 2
      tests/vnc_playback.html
  6. 2 1
      vnc_auto.html

+ 2 - 0
debian/novnc.install

@@ -13,6 +13,8 @@ images/favicon.ico  /usr/share/novnc
 include/base64.js   /usr/share/novnc/include
 include/des.js   /usr/share/novnc/include
 include/display.js   /usr/share/novnc/include
+include/keysymdef.js   /usr/share/novnc/include
+include/keyboard.js   /usr/share/novnc/include
 include/input.js   /usr/share/novnc/include
 include/logo.js   /usr/share/novnc/include
 include/base.css   /usr/share/novnc/include

+ 2 - 2
include/ui.js

@@ -14,8 +14,8 @@
 // Load supporting scripts
 window.onscriptsload = function () { UI.load(); };
 Util.load_scripts(["webutil.js", "base64.js", "websock.js", "des.js",
-                   "input.js", "display.js", "jsunzip.js", "rfb.js",
-                   "keysym.js"]);
+                   "keysymdef.js", "keyboard.js", "input.js", "display.js",
+                   "jsunzip.js", "rfb.js", "keysym.js"]);
 
 var UI = {
 

+ 2 - 0
tests/viewport.html

@@ -37,6 +37,8 @@
     <script src="../include/util.js"></script>
     <script src="../include/webutil.js"></script> 
     <script src="../include/base64.js"></script>
+    <script src="../include/keysymdef.js"></script>
+    <script src="../include/keyboard.js"></script>
     <script src="../include/input.js"></script> 
     <script src="../include/display.js"></script>
     <script>

+ 2 - 1
tests/vnc_perf.html

@@ -47,7 +47,8 @@
     <script>
         // Load supporting scripts
         Util.load_scripts(["webutil.js", "base64.js", "websock.js", "des.js",
-                           "input.js", "display.js", "jsunzip.js", "rfb.js"]);
+                           "keysymdef.js", "keyboard.js", "input.js", "display.js",
+                           "jsunzip.js", "rfb.js"]);
 
         var start_time, VNC_frame_data, pass, passes, encIdx,
             encOrder = ['raw', 'rre', 'hextile', 'tightpng', 'copyrect'],

+ 2 - 2
tests/vnc_playback.html

@@ -60,8 +60,8 @@
             message("Loading " + fname);
             // Load supporting scripts
             Util.load_scripts(["base64.js", "websock.js", "des.js",
-                            "input.js", "display.js", "jsunzip.js", "rfb.js",
-                            "playback.js", fname]);
+                            "keysymdef.js", "keyboard.js", "input.js", "display.js",
+                            "jsunzip.js", "rfb.js", "playback.js", fname]);
 
         } else {
             message("Must specify data=FOO in query string.");

+ 2 - 1
vnc_auto.html

@@ -68,7 +68,8 @@
 
         // Load supporting scripts
         Util.load_scripts(["webutil.js", "base64.js", "websock.js", "des.js",
-                           "input.js", "display.js", "jsunzip.js", "rfb.js"]);
+                           "keysymdef.js", "keyboard.js", "input.js", "display.js",
+                           "jsunzip.js", "rfb.js"]);
 
         var rfb;