Revert "Control event value in simulator (#343)"
This reverts commit 00f4c9cbb3.
			
			
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user