Added support for Streamdeck Pedal and updated UI to better fit the Packed UI style
This commit is contained in:
67
node_modules/@elgato-stream-deck/node-lib/CHANGELOG.md
generated
vendored
Normal file
67
node_modules/@elgato-stream-deck/node-lib/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [7.3.2](https://github.com/julusian/node-elgato-stream-deck/compare/v7.3.1...v7.3.2) (2025-07-14)
|
||||
|
||||
**Note:** Version bump only for package @elgato-stream-deck/node-lib
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.3.1](https://github.com/julusian/node-elgato-stream-deck/compare/v7.3.0...v7.3.1) (2025-05-30)
|
||||
|
||||
**Note:** Version bump only for package @elgato-stream-deck/node-lib
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.3.0](https://github.com/julusian/node-elgato-stream-deck/compare/v7.2.0...v7.3.0) (2025-05-30)
|
||||
|
||||
**Note:** Version bump only for package @elgato-stream-deck/node-lib
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.2.0](https://github.com/julusian/node-elgato-stream-deck/compare/v7.1.2...v7.2.0) (2025-05-24)
|
||||
|
||||
**Note:** Version bump only for package @elgato-stream-deck/node-lib
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.1.2](https://github.com/julusian/node-elgato-stream-deck/compare/v7.1.1...v7.1.2) (2024-12-09)
|
||||
|
||||
**Note:** Version bump only for package @elgato-stream-deck/node-lib
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.1.1](https://github.com/julusian/node-elgato-stream-deck/compare/v7.1.0...v7.1.1) (2024-11-14)
|
||||
|
||||
**Note:** Version bump only for package @elgato-stream-deck/node-lib
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [7.0.2](https://github.com/julusian/node-elgato-stream-deck/compare/v7.0.1...v7.0.2) (2024-09-16)
|
||||
|
||||
**Note:** Version bump only for package @elgato-stream-deck/node-lib
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [7.0.0](https://github.com/julusian/node-elgato-stream-deck/compare/v7.0.0-0...v7.0.0) (2024-09-08)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* streamdeck studio support ([#100](https://github.com/julusian/node-elgato-stream-deck/issues/100)) ([baf506d](https://github.com/julusian/node-elgato-stream-deck/commit/baf506da9f4a1e38bc8f7f393743491c21c59835))
|
||||
21
node_modules/@elgato-stream-deck/node-lib/LICENSE
generated
vendored
Normal file
21
node_modules/@elgato-stream-deck/node-lib/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 Julian Waller
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
20
node_modules/@elgato-stream-deck/node-lib/README.md
generated
vendored
Normal file
20
node_modules/@elgato-stream-deck/node-lib/README.md
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# @elgato-stream-deck/node-lib
|
||||
|
||||

|
||||
[](https://codecov.io/gh/Julusian/node-elgato-stream-deck)
|
||||
|
||||
[](https://npm.im/@elgato-stream-deck/node-lib)
|
||||
[](https://npm.im/@elgato-stream-deck/node-lib)
|
||||
|
||||
[`@elgato-stream-deck/node-lib`](https://github.com/julusian/node-elgato-stream-deck) is an internal library, used for interfacing
|
||||
with the various models of the [Elgato Stream Deck](https://www.elgato.com/en/gaming/stream-deck) through node.
|
||||
|
||||
## Intended use
|
||||
|
||||
This is an internal helper library of the @elgato-stream-deck projects, it should not be used by others or directly.
|
||||
|
||||
## Contributing
|
||||
|
||||
The elgato-stream-deck team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.
|
||||
|
||||
Please refer to the [Changelog](CHANGELOG.md) for project history details, too.
|
||||
13
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.d.ts
generated
vendored
Normal file
13
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface JPEGEncodeOptions {
|
||||
quality: number;
|
||||
subsampling?: number;
|
||||
}
|
||||
/**
|
||||
* The default JPEG encoder.
|
||||
* `@julusian/jpeg-turbo` will be used if it can be found, otherwise it will fall back to `jpeg-js`
|
||||
* @param buffer The buffer to convert
|
||||
* @param width Width of the image
|
||||
* @param height Hieght of the image
|
||||
*/
|
||||
export declare function encodeJPEG(buffer: Uint8Array, width: number, height: number, options: JPEGEncodeOptions | undefined): Promise<Uint8Array>;
|
||||
//# sourceMappingURL=jpeg.d.ts.map
|
||||
1
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.d.ts.map
generated
vendored
Normal file
1
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"jpeg.d.ts","sourceRoot":"","sources":["../src/jpeg.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB;AAID;;;;;;GAMG;AACH,wBAAsB,UAAU,CAC/B,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,iBAAiB,GAAG,SAAS,GACpC,OAAO,CAAC,UAAU,CAAC,CAgCrB"}
|
||||
42
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.js
generated
vendored
Normal file
42
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.js
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.encodeJPEG = encodeJPEG;
|
||||
const jpegJS = require("jpeg-js");
|
||||
const DEFAULT_QUALITY = 95;
|
||||
/**
|
||||
* The default JPEG encoder.
|
||||
* `@julusian/jpeg-turbo` will be used if it can be found, otherwise it will fall back to `jpeg-js`
|
||||
* @param buffer The buffer to convert
|
||||
* @param width Width of the image
|
||||
* @param height Hieght of the image
|
||||
*/
|
||||
async function encodeJPEG(buffer, width, height, options) {
|
||||
try {
|
||||
const jpegTurbo = await Promise.resolve().then(() => require('@julusian/jpeg-turbo'));
|
||||
// Try using jpeg-turbo if it is available
|
||||
if (jpegTurbo.bufferSize && !!jpegTurbo.compress) {
|
||||
const encodeOptions = {
|
||||
format: jpegTurbo.FORMAT_RGBA,
|
||||
width,
|
||||
height,
|
||||
quality: DEFAULT_QUALITY,
|
||||
...options,
|
||||
};
|
||||
if (buffer.length === width * height * 4) {
|
||||
const tmpBuffer = Buffer.alloc(jpegTurbo.bufferSize(encodeOptions));
|
||||
return jpegTurbo.compress(Buffer.from(buffer), tmpBuffer, encodeOptions); // Future: avoid rewrap
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (_e) {
|
||||
// TODO - log error
|
||||
}
|
||||
// If jpeg-turbo is unavailable or fails, then fallback to jpeg-js
|
||||
const jpegBuffer2 = jpegJS.encode({
|
||||
width,
|
||||
height,
|
||||
data: buffer,
|
||||
}, options ? options.quality : DEFAULT_QUALITY);
|
||||
return jpegBuffer2.data;
|
||||
}
|
||||
//# sourceMappingURL=jpeg.js.map
|
||||
1
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.js.map
generated
vendored
Normal file
1
node_modules/@elgato-stream-deck/node-lib/dist/jpeg.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"jpeg.js","sourceRoot":"","sources":["../src/jpeg.ts"],"names":[],"mappings":";;AAiBA,gCAqCC;AAtDD,kCAAiC;AAQjC,MAAM,eAAe,GAAG,EAAE,CAAA;AAE1B;;;;;;GAMG;AACI,KAAK,UAAU,UAAU,CAC/B,MAAkB,EAClB,KAAa,EACb,MAAc,EACd,OAAsC;IAEtC,IAAI,CAAC;QACJ,MAAM,SAAS,GAAG,2CAAa,sBAAsB,EAAC,CAAA;QAEtD,0CAA0C;QAC1C,IAAI,SAAS,CAAC,UAAU,IAAI,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;YAClD,MAAM,aAAa,GAAkB;gBACpC,MAAM,EAAE,SAAS,CAAC,WAAW;gBAC7B,KAAK;gBACL,MAAM;gBACN,OAAO,EAAE,eAAe;gBACxB,GAAG,OAAO;aACV,CAAA;YACD,IAAI,MAAM,CAAC,MAAM,KAAK,KAAK,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC1C,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAA;gBACnE,OAAO,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,aAAa,CAAC,CAAA,CAAC,uBAAuB;YACjG,CAAC;QACF,CAAC;IACF,CAAC;IAAC,OAAO,EAAE,EAAE,CAAC;QACb,mBAAmB;IACpB,CAAC;IAED,kEAAkE;IAClE,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAChC;QACC,KAAK;QACL,MAAM;QACN,IAAI,EAAE,MAAM;KACZ,EACD,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAC3C,CAAA;IACD,OAAO,WAAW,CAAC,IAAI,CAAA;AACxB,CAAC"}
|
||||
2
node_modules/@elgato-stream-deck/node-lib/dist/lib.d.ts
generated
vendored
Normal file
2
node_modules/@elgato-stream-deck/node-lib/dist/lib.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './jpeg.js';
|
||||
//# sourceMappingURL=lib.d.ts.map
|
||||
1
node_modules/@elgato-stream-deck/node-lib/dist/lib.d.ts.map
generated
vendored
Normal file
1
node_modules/@elgato-stream-deck/node-lib/dist/lib.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
||||
5
node_modules/@elgato-stream-deck/node-lib/dist/lib.js
generated
vendored
Normal file
5
node_modules/@elgato-stream-deck/node-lib/dist/lib.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const tslib_1 = require("tslib");
|
||||
tslib_1.__exportStar(require("./jpeg.js"), exports);
|
||||
//# sourceMappingURL=lib.js.map
|
||||
1
node_modules/@elgato-stream-deck/node-lib/dist/lib.js.map
generated
vendored
Normal file
1
node_modules/@elgato-stream-deck/node-lib/dist/lib.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":";;;AAAA,oDAAyB"}
|
||||
1
node_modules/@elgato-stream-deck/node-lib/dist/tsconfig.build.tsbuildinfo
generated
vendored
Normal file
1
node_modules/@elgato-stream-deck/node-lib/dist/tsconfig.build.tsbuildinfo
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"root":["../src/jpeg.ts","../src/lib.ts"],"version":"5.9.3"}
|
||||
46
node_modules/@elgato-stream-deck/node-lib/package.json
generated
vendored
Normal file
46
node_modules/@elgato-stream-deck/node-lib/package.json
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"name": "@elgato-stream-deck/node-lib",
|
||||
"version": "7.5.2",
|
||||
"description": "Helpers for a npm module for interfacing with the Elgato Stream Deck",
|
||||
"main": "dist/lib.js",
|
||||
"typings": "dist/lib.d.ts",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/julusian/node-elgato-stream-deck#readme",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Julusian/node-elgato-stream-deck",
|
||||
"directory": "packages/node-lib"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/julusian/node-elgato-stream-deck/issues"
|
||||
},
|
||||
"author": {
|
||||
"name": "Julian Waller",
|
||||
"email": "git@julusian.co.uk"
|
||||
},
|
||||
"keywords": [
|
||||
"elgato",
|
||||
"stream",
|
||||
"deck",
|
||||
"streamdeck",
|
||||
"hid",
|
||||
"usb",
|
||||
"hardware",
|
||||
"interface",
|
||||
"controller"
|
||||
],
|
||||
"files": [
|
||||
"dist",
|
||||
"udev"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=18.18"
|
||||
},
|
||||
"dependencies": {
|
||||
"jpeg-js": "^0.4.4",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@julusian/jpeg-turbo": "^1.1.2 || ^2.0.0 || ^3.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user