mirror of
https://github.com/copy/v86.git
synced 2025-12-31 12:33:15 +00:00
add lock_mouse business
this has been my 3rd day doing nothing but analyzing v86
This commit is contained in:
parent
6ab0fa85a9
commit
c19deebb75
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
- [`serial0_send(string data)`](#serial0_sendstring-data)
|
||||
- [`create_file(string file, Uint8Array data, function(Object) callback)`](#create_filestring-file-uint8array-data-functionobject-callback)
|
||||
- [`read_file(string file, function(Object, Uint8Array) callback)`](#read_filestring-file-functionobject-uint8array-callback)
|
||||
- [`lock_mouse()`](#lock_mouse)
|
||||
|
||||
***
|
||||
## `V86Starter`
|
||||
|
|
@ -114,6 +115,10 @@ Stop emulation. Do nothing if emulator is not running. Can be asynchronous.
|
|||
#### `restart()`
|
||||
Restart (force a reboot).
|
||||
|
||||
***
|
||||
#### `lock_mouse()`
|
||||
Locks the mouse to the canvas the emulator was initated with
|
||||
|
||||
***
|
||||
#### `add_listener(string event, function(*) listener)`
|
||||
Add an event listener (the emulator is an event emitter). A list of events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue