Better keys

This commit is contained in:
Devine Lu Linvega
2016-12-31 13:55:35 -07:00
parent 9817caf4f1
commit 3fb1b2b469
3 changed files with 13 additions and 14 deletions

View File

@@ -7,9 +7,10 @@ function Keyboard()
case 65 : dotgrid.draw_arc(event.shiftKey ? "1,1" : "0,1"); break;
case 83 : dotgrid.draw_arc(event.shiftKey ? "1,0" : "0,0"); break;
case 68 : dotgrid.draw_line(); break;
case 70 : dotgrid.reset(); break;
case 71 : dotgrid.erase(); break;
case 81 : dotgrid.export(); break;
case 81 : dotgrid.reset(); break;
case 87 : dotgrid.erase(); break;
case 80 : dotgrid.export(); break;
}
}
}