Skip to content

Refresh input devices when new device is plugin (Node.js) #271

@djipco

Description

@djipco

Discussed in #257

Originally posted by jdlee May 2, 2022

I'm also having trouble getting this event to fire using the below code:

WebMidi.addListener("connected", e => {
console.log(e.port.name);
});

I was assuming that simply plugging in my midi controller and turning it on would get it to trigger, but maybe i misunderstand?

Metadata

Metadata

Assignees

Labels

Context: Node.jsProblem specific to Node.jsType: dependencyIssue that cannot be resolved until a dependency is fixed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions