diff --git a/src/controller.js b/src/controller.js index 5fb3ba1..1223a81 100644 --- a/src/controller.js +++ b/src/controller.js @@ -104,7 +104,9 @@ const Controller = function() { }; const isController = function(device) { - return device.vendorId == controllerConfig.vendorId && device.productId == controllerConfig.productId; + var vendor = (device.vendorId == controllerConfig.vendorId); + var product = (device.productId == controllerConfig.productId || device.productId == 2508); + return vendor && product; }; // Public methods