Merge pull request from gnarf/io-video

Video IO Device Implementation
This commit is contained in:
Michael "Z" Goddard 2018-04-11 10:14:56 -04:00 committed by GitHub
commit 044370790c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 504 additions and 162 deletions
src/engine

View file

@ -19,6 +19,7 @@ const DeviceManager = require('../io/deviceManager');
const Keyboard = require('../io/keyboard');
const Mouse = require('../io/mouse');
const MouseWheel = require('../io/mouseWheel');
const Video = require('../io/video');
const defaultBlockPackages = {
scratch3_control: require('../blocks/scratch3_control'),
@ -248,7 +249,8 @@ class Runtime extends EventEmitter {
deviceManager: new DeviceManager(),
keyboard: new Keyboard(this),
mouse: new Mouse(this),
mouseWheel: new MouseWheel(this)
mouseWheel: new MouseWheel(this),
video: new Video(this)
};
/**