Skip to content

Commit 64b67c9

Browse files
committed
new device
1 parent 1a6a90b commit 64b67c9

File tree

19 files changed

+536
-118
lines changed

19 files changed

+536
-118
lines changed

app.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"defaultThemePath":"C:\\Users\\bruno\\Documents\\GitHub\\capellix-lcd\\themes\\notzxt_2\\theme.js","fps":25,"renderAtStartup":false,"startMinimised":false,"startAtLogin":false,"showWarningAlert":true,"rotation":0}
1+
{"defaultThemePath":"C:\\Users\\bruno\\Documents\\GitHub\\capellix-lcd\\themes\\clock\\theme.js","fps":25,"renderAtStartup":false,"startMinimised":false,"startAtLogin":false,"showWarningAlert":true,"rotation":0}

assets/scripts/themes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ window.electronAPI.threeDivs((_event) => {
1515
// </a>
1616
// </div>
1717
let htmlToAppend = `
18+
<div class="fillspace"></div>
19+
<div class="fillspace"></div>
1820
<div class="fillspace"></div>
1921
<div class="fillspace"></div>
2022
<div class="fillspace"></div>

assets/styles/settings.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
.actualSettings {
1313
margin-left: 4rem;
1414
margin-right: 4rem;
15-
margin-top: 4.5rem;
15+
margin-top: 5.5rem;
1616
margin-bottom: 1rem;
1717
}
1818

devices-src/tt-ultra/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
target
2+
capellix.node
3+
**/node_modules
4+
**/.DS_Store
5+
npm-debug.log*

devices-src/tt-ultra/Cargo.lock

Lines changed: 229 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devices-src/tt-ultra/Cargo.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "tt-ultra"
3+
version = "0.1.0"
4+
description = "Native bindings for the Toughliquid Ultra LCD."
5+
authors = ["Bruno St. John"]
6+
license = "Apache-2.0"
7+
edition = "2018"
8+
exclude = ["tt-ultra.node"]
9+
10+
[lib]
11+
crate-type = ["cdylib"]
12+
13+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14+
15+
[dependencies]
16+
hidapi-rusb = "1.3.2"
17+
base64 = "0.21.0"
18+
once_cell = "1.17.1"
19+
20+
[dependencies.neon]
21+
version = "0.10"
22+
default-features = false
23+
features = ["napi-6"]

devices-src/tt-ultra/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# capellixv2
2+
3+
**capellixv2:** Native bindings for the Capellix LCD rev 2.
4+
5+
This is an LCD driver as part of the Zefir's Flashy Cooler project.
6+
7+
It is based on a reverse engineering effort led by me and TheDordo from the SignalRGB team.
8+
9+
![Cooler Image](https://github.com/brunostjohn/zefirs-flashy-cooler/raw/main/devices-src/capellix/resources/device.image.png)

devices-src/tt-ultra/package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "tt-ultra",
3+
"version": "0.1.0",
4+
"description": "Native bindings for the Thermaltake Ultra LCD.",
5+
"main": "tt-ultra.node",
6+
"scripts": {
7+
"build": "cargo-cp-artifact -nc tt-ultra.node -- cargo build --message-format=json-render-diagnostics",
8+
"build-debug": "npm run build --",
9+
"build-release": "npm run build -- --release",
10+
"install": "npm run build-release",
11+
"test": "cargo test"
12+
},
13+
"author": "Bruno St. John",
14+
"license": "Apache-2.0",
15+
"devDependencies": {
16+
"cargo-cp-artifact": "^0.1"
17+
},
18+
"repository": {
19+
"type": "git",
20+
"url": "git+https://github.com/brunostjohn/zefirs-flashy-cooler.git"
21+
},
22+
"bugs": {
23+
"url": "https://github.com/brunostjohn/zefirs-flashy-cooler/issues"
24+
},
25+
"homepage": "https://github.com/brunostjohn/zefirs-flashy-cooler#readme"
26+
}
103 KB
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
manifest: {
3+
vendorId: 0x264a,
4+
productId: 0x2328,
5+
deviceName: "Toughliquid Ultra",
6+
width: 480,
7+
height: 480,
8+
maxFps: 30,
9+
supportsStaticHardwareImage: false,
10+
supportHardwareGif: false,
11+
supportBrightnessControl: false,
12+
},
13+
};

0 commit comments

Comments
 (0)