There’s another place that could be helpful:
Where it says
dx += x;
dy += y;
add console.log(x, y, gamepad.id); so that it’s:
console.log(x, y, gamepad.id);
dx += x;
dy += y;
This should show any devices that the plugin sees as controllers.
(Edit: I should be able to exclude the one that causes problems, that way.)
There’s one other place where the plugin can move the cursor, that this doesn’t cover, but that is only reachable when using the “Point at” plugin command.