Commit 4a88d603 authored by Bernie Wang's avatar Bernie Wang
Browse files

added switch cases for linux ctrl keys

parent d5ba815b
......@@ -206,6 +206,12 @@ function onKeyDown(event) {
var KeyID = event.keyCode;
switch(KeyID)
{
case 29: // linux l ctrl
toggleControl(false);
break;
case 97: // linux r ctrl
toggleControl(false);
break;
case 8: // backspace
deleteSelectedBox();
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment