UNPKG

@shuttle-lib/core

Version:

NPM package to interact with the Shuttle devices

40 lines 1.43 kB
"use strict"; /* * This file contains information about the various Shuttle devices */ Object.defineProperty(exports, "__esModule", { value: true }); exports.PRODUCTS = exports.ProductModelId = exports.VENDOR_IDS = void 0; exports.VENDOR_IDS = [0x0b33]; var ProductModelId; (function (ProductModelId) { ProductModelId["ShuttleProV1"] = "shuttlepro_v1"; ProductModelId["ShuttleXpress"] = "shuttlexpress"; ProductModelId["ShuttleProV2"] = "shuttlepro_v2"; })(ProductModelId || (exports.ProductModelId = ProductModelId = {})); exports.PRODUCTS = { [ProductModelId.ShuttleProV1]: { productModelId: ProductModelId.ShuttleProV1, name: 'ShuttlePro v1', vendorId: exports.VENDOR_IDS[0], productId: 0x0010, interface: 0, buttonBits: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], }, [ProductModelId.ShuttleXpress]: { productModelId: ProductModelId.ShuttleXpress, name: 'ShuttleXpress', vendorId: exports.VENDOR_IDS[0], productId: 0x0020, interface: 0, buttonBits: [4, 5, 6, 7, 8], }, [ProductModelId.ShuttleProV2]: { productModelId: ProductModelId.ShuttleProV2, name: 'ShuttlePro v2', vendorId: exports.VENDOR_IDS[0], productId: 0x0030, interface: 0, buttonBits: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], }, }; //# sourceMappingURL=products.js.map