Skip to content

Commit

Permalink
Release 4.0.84
Browse files Browse the repository at this point in the history
  • Loading branch information
icue-sdk committed Nov 22, 2023
1 parent 08bdc36 commit 2ed4785
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 20 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ jobs:
needs: [prebuild-macos]

steps:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@master
with:
node-version: "14.x"
node-version: "16.x"
- name: npm install and build
run: |
npm ci
Expand All @@ -42,10 +45,13 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Set up Node
uses: actions/setup-node@master
with:
node-version: "14.x"
node-version: "16.x"
- name: npm install and build
run: |
npm ci
Expand Down
9 changes: 0 additions & 9 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@
"OS=='win'",
{
"conditions": [
[
"target_arch == 'ia32'",
{
"variables": {
"sdk_arch%": "",
"sdk_arch_path%": "i386"
}
}
],
[
"target_arch == 'x64'",
{
Expand Down
4 changes: 3 additions & 1 deletion iCUESDK/include/iCUESDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ enum CorsairDeviceType // contains list of available device types
CDT_Motherboard = 0x0200, // for motherboards
CDT_GraphicsCard = 0x0400, // for graphics cards
CDT_Touchbar = 0x0800, // for touchbars
CDT_GameController = 0x1000, // for game controllers
CDT_All = 0xFFFFFFFF // for all devices
};

Expand Down Expand Up @@ -176,7 +177,8 @@ enum CorsairChannelDeviceType // contains list of the LED-devices which can be c
CCDT_DAP = 8,
CCDT_Pump = 9,
CCDT_DRAM = 10,
CCDT_WaterBlock = 11
CCDT_WaterBlock = 11,
CCDT_QX_Fan = 12,
};

enum CorsairAccessLevel // contains list of available SDK access levels
Expand Down
3 changes: 2 additions & 1 deletion iCUESDK/include/iCUESDKLedIdEnum.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ enum CorsairLedGroup // contains a list of led groups. Led group is used as a pa
CLG_DIY_Channel1 = 11, // for leds on the first channel of DIY devices and coolers
CLG_DIY_Channel2 = 12, // for leds on the second channel of DIY devices and coolers
CLG_DIY_Channel3 = 13, // for leds on the third channel of DIY devices and coolers
CLG_Touchbar = 14 // for touchbar leds
CLG_Touchbar = 14, // for touchbar leds
CLG_GameController = 15 // for game controller leds
};

enum CorsairLedId_Keyboard // contains a list of keyboard leds that belong to CLG_Keyboard group
Expand Down
Binary file removed iCUESDK/lib/i386/iCUESDK_2019.lib
Binary file not shown.
Binary file modified iCUESDK/mac/libiCUESDK.dylib
Binary file not shown.
Binary file removed iCUESDK/redist/i386/iCUESDK_2019.dll
Binary file not shown.
Binary file modified iCUESDK/redist/x64/iCUESDK.x64_2019.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "cue-sdk",
"author": "Corsair Memory, Inc.",
"license": "MIT",
"version": "4.0.0",
"version": "4.0.84",
"description": "A Node.js native wrapper around iCUE SDK",
"repository": "https://github.com/CorsairOfficial/cue-sdk-node",
"main": "index.js",
"scripts": {
"install": "node-gyp-build",
"gen:converters": "node templates/converters/index.js",
"prebuild": "prebuildify --napi --arch ia32 && prebuildify --napi --arch x64",
"prebuild": "prebuildify --napi --arch x64",
"prebuild-mac": "prebuildify --napi --arch x64_arm64",
"test": "node test"
},
Expand Down
7 changes: 5 additions & 2 deletions src/enums.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const CorsairDeviceType = {
CDT_Motherboard: 0x0200,
CDT_GraphicsCard: 0x0400,
CDT_Touchbar: 0x0800,
CDT_GameController: 0x1000,
CDT_All: 0xFFFFFFFF
}

Expand Down Expand Up @@ -120,7 +121,8 @@ const CorsairChannelDeviceType = {
CCDT_DAP: 8,
CCDT_Pump: 9,
CCDT_DRAM: 10,
CCDT_WaterBlock: 11
CCDT_WaterBlock: 11,
CCDT_QX_Fan: 12
}

const CorsairAccessLevel = {
Expand All @@ -145,7 +147,8 @@ const CorsairLedGroup = {
CLG_DIY_Channel1: 11,
CLG_DIY_Channel2: 12,
CLG_DIY_Channel3: 13,
CLG_Touchbar: 14
CLG_Touchbar: 14,
CLG_GameController: 15
}

const CorsairLedId_Keyboard = {
Expand Down
1 change: 0 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const readline = require('readline');
const input_queue = [];

readline.emitKeypressEvents(process.stdin);
process.stdin.setRawMode(true);
process.stdin.on('keypress', (key, data) => {
if (data.sequence === '\u0003') {
// ^C
Expand Down

0 comments on commit 2ed4785

Please sign in to comment.