Revert "Control event value in simulator (#343)"
This reverts commit 00f4c9cbb3
.
This commit is contained in:
parent
00f4c9cbb3
commit
d2726133a9
@ -36,6 +36,6 @@
|
||||
"semantic-ui-less": "^2.2.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"pxt-core": "0.10.5"
|
||||
"pxt-core": "0.10.4"
|
||||
}
|
||||
}
|
||||
|
@ -65,14 +65,6 @@ namespace pxsim.control {
|
||||
// TODO mode?
|
||||
board().bus.queue(id, evid)
|
||||
}
|
||||
|
||||
export function eventValue(): number | string {
|
||||
return board().bus.getLastEvent();
|
||||
}
|
||||
|
||||
export function eventTimestamp(): number {
|
||||
return board().bus.getLastEventTime();
|
||||
}
|
||||
}
|
||||
|
||||
namespace pxsim.pxtcore {
|
||||
|
Loading…
Reference in New Issue
Block a user