We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445a731 commit c652aa2Copy full SHA for c652aa2
src/controller.js
@@ -104,7 +104,9 @@ const Controller = function() {
104
};
105
106
const isController = function(device) {
107
- return device.vendorId == controllerConfig.vendorId && device.productId == controllerConfig.productId;
+ var vendor = (device.vendorId == controllerConfig.vendorId);
108
+ var product = (device.productId == controllerConfig.productId || device.productId == 2508);
109
+ return vendor && product;
110
111
112
// Public methods
0 commit comments