UNPKG

@shuttle-lib/core

Version:

NPM package to interact with the Shuttle devices

51 lines 1.94 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PRODUCTS = exports.ProductModelId = exports.VENDOR_IDS = void 0; /* * This file contains information about the various Shuttle devices */ // Note: This also includes 0x5f3 which is an OLD Contour Shuttle Pro v1 vendor id (really, an xkeys). exports.VENDOR_IDS = [0x0b33, 0x5f3]; var ProductModelId; (function (ProductModelId) { ProductModelId["ShuttleProV1"] = "shuttlepro_v1"; ProductModelId["ShuttleProV1a"] = "shuttlepro_v1_older"; 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.ShuttleProV1a]: { // S/N lower than 00100000 ? Found in S/N 0005xxxx productModelId: ProductModelId.ShuttleProV1, name: 'ShuttlePro v1', vendorId: exports.VENDOR_IDS[1], productId: 0x0240, 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