diff --git a/include/default_controls.js b/include/default_controls.js new file mode 100644 index 00000000..2ad9d17e --- /dev/null +++ b/include/default_controls.js @@ -0,0 +1,140 @@ +DefaultControls = { + +load: function(target) { + var url; + + /* Handle state updates */ + RFB.setUpdateState(DefaultControls.updateState); + RFB.setClipboardReceive(DefaultControls.clipReceive); + + /* Populate the 'target' DOM element with default controls */ + if (!target) { target = 'vnc'; } + + html = ""; + html += '
'; + html += '