update 0.9.0

This commit is contained in:
Rupert Hausberger 2016-07-30 01:31:36 +02:00
commit ea1d34267e
11 changed files with 1052 additions and 65 deletions

View file

@ -741,6 +741,10 @@ function SAEO_Keyboard() {
if (keyState[loc][code] != oldstate)
processKey(loc, code, keyState[loc][code]);
};
this.keyPress = function(e, down) {
handleKey(e, down);
};
}
function SAEO_Input() {
@ -772,6 +776,10 @@ function SAEO_Input() {
potgo.count = 0;
};
this.keyPress = function (e, down) {
this.keyboard.keyPress(e, down);
};
this.POTGO = function (v) {
//SAEF_log("Input.POTGO() $%04x", v);
potgo.data = v;