]> git.proxmox.com Git - mirror_novnc.git/commit - core/display.js
API change: Mouse/kbd handling to include/input.js
authorJoel Martin <github@martintribe.org>
Sun, 3 Apr 2011 22:30:45 +0000 (17:30 -0500)
committerJoel Martin <github@martintribe.org>
Sun, 3 Apr 2011 22:30:45 +0000 (17:30 -0500)
commitd3796c149e66f0a9021f87570b5786c40683cdd1
tree0fc93acc96f21ca0b08453ecf3dc8930bfa525bb
parentdec1861127a6a3d31c614b455a88dba3c0ebb3e2
API change: Mouse/kbd handling to include/input.js

API change: for intergrators that explicitly include the Javascript
files (that do not use include/vnc.js)js, include/input.js is a new
file that must also be included.

The mouse and keyboard handling could be useful on its own so split it
out into a Keyboard and Mouse class in include/input.js.

This refactoring is preparation to deal with issue #21 - non-US
keyboard layouts.
include/canvas.js
include/input.js [new file with mode: 0644]
include/rfb.js
include/util.js
include/vnc.js
tests/input.html
tests/keyboard.html