These were directly tied to reading keyboard/gamepad events from window
Adds exposed [de]pressControllerButton functions to nES6 instances.
Takes in a player number and a button name (A, B, START, etc) and updates emulator accordingly
Introduces plugins! Here we use the bindKeyboard plugin to demonstrate how to implement common features that aren't necessarily inside the responsibility scope of nES6.
Resolves #1 .
window
[de]pressControllerButton
functions to nES6 instances.A
,B
,START
, etc) and updates emulator accordinglybindKeyboard
plugin to demonstrate how to implement common features that aren't necessarily inside the responsibility scope of nES6.