Skip to content

Commit a3978e8

Browse files
committed
2.3.0 - Wootility RGB Effects
1 parent 55c20d7 commit a3978e8

File tree

9 files changed

+523
-311
lines changed

9 files changed

+523
-311
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "wooting-profile-switcher"
33
description = "Wooting Profile Switcher"
4-
version = "2.2.0"
4+
version = "2.3.0"
55
authors = ["Shayne Hartford <[email protected]>", "Tony Langhammer"]
66
edition = "2021"
77
readme = "README.md"
@@ -18,11 +18,13 @@ active-win-pos-rs = "0.8"
1818
anyhow = "1"
1919
clap = { version = "4", features = ["derive"] }
2020
ctrlc = { version = "3", features = ["termination"] }
21+
derive_more = "0.99"
2122
dirs = "5"
2223
egui_extras = "0.22"
2324
encoding_rs = "0.8"
2425
game-scanner = { git = "https://github.com/Shays-Forks/game-scanner.git" }
2526
image = "0.24"
27+
lazy_static = "1"
2628
open = "5"
2729
parking_lot = "0.12"
2830
regex = "1"
@@ -50,6 +52,6 @@ custom-protocol = ["tauri/custom-protocol"]
5052

5153
# https://tauri.app/v1/guides/building/app-size/#rust-build-time-optimizations
5254
[profile.release]
53-
lto = true # Enables link to optimizations
54-
opt-level = "s" # Optimize for binary size
55-
strip = true # Remove debug symbols
55+
lto = true # Enables link to optimizations
56+
opt-level = "s" # Optimize for binary size
57+
strip = true # Remove debug symbols

README.md

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,58 @@ The config file is generated on first-run in the following location and format
3636

3737
```json5
3838
{
39-
// The fallback profile to use when no match is found (optional)
40-
"fallback_profile_index": 0,
39+
// Auto launch at startup
40+
"auto_launch": null,
41+
// Auto update at startup
42+
"auto_update": null,
43+
// List of connected devices, their serial number properties, and profile names
44+
"devices": {
45+
"A02B2106W031H00418": {
46+
"model_name": "Wooting Two LE",
47+
"supplier": 2,
48+
"year": 21,
49+
"week": 6,
50+
"product": 3,
51+
"revision": 1,
52+
"product_id": 418,
53+
"production": true,
54+
"profiles": [
55+
"Typing Profile",
56+
"Rapid Profile",
57+
"Racing Profile",
58+
"Mixed Movement"
59+
]
60+
}
61+
},
4162
// Sleep duration for the loop checking the active window
4263
"loop_sleep_ms": 250,
4364
// Sleep duration between sending Wooting USB commands
4465
"send_sleep_ms": 250,
66+
// Show the serial number instead of the model name
67+
"show_serial": false,
4568
// Swap the lighting effects with the keyboard profile
4669
"swap_lighting": true,
47-
// List of profile names, pulled from Wootility
48-
"profiles": [
49-
"Typing Profile",
50-
"Rapid Profile",
51-
"Racing Profile",
52-
"Mixed Movement"
53-
],
5470
// List of rule objects, all match rules support Wildcard and Regex
5571
"rules": [
5672
{
5773
"alias": "The Binding of Isaac",
58-
"match_app_name": "isaac-ng",
59-
"match_bin_name": "isaac-ng.exe",
60-
"match_bin_path": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\isaac-ng.exe",
61-
"match_win_name": "Binding of Isaac: Repentance",
62-
"profile_index": 1
74+
"device_indices": {
75+
"A02B2106W031H00418": 0
76+
},
77+
"match_app_name": null,
78+
"match_bin_name": null,
79+
"match_bin_path": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth*",
80+
"match_win_name": null
81+
},
82+
{
83+
"alias": "Default Fallback",
84+
"device_indices": {
85+
"A02B2106W031H00418": 0
86+
},
87+
"match_app_name": "*",
88+
"match_bin_name": "*",
89+
"match_bin_path": "*",
90+
"match_win_name": "*"
6391
}
6492
],
6593
"ui": {
@@ -80,7 +108,9 @@ The config file is generated on first-run in the following location and format
80108
"match_bin_name": null,
81109
"match_bin_path": null,
82110
"match_win_name": "VRCX ????.??.??",
83-
"profile_index": 0
111+
"device_indices": {
112+
"A02B2106W031H00418": 0
113+
},
84114
}
85115
```
86116

@@ -93,6 +123,8 @@ The config file is generated on first-run in the following location and format
93123
"match_bin_name": null,
94124
"match_bin_path": null,
95125
"match_win_name": "Minecraft [\d]+.[\d]+.[\d]+",
96-
"profile_index": 0
126+
"device_indices": {
127+
"A02B2106W031H00418": 0
128+
},
97129
}
98130
```

Tauri.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
productName = "wooting-profile-switcher"
3-
version = "2.2.0"
3+
version = "2.3.0"
44

55
[tauri.bundle]
66
active = true

0 commit comments

Comments
 (0)