pull/13/head
4yn 2022-02-05 14:45:25 +08:00
parent 8a67094c9a
commit 91030cb96b
27 changed files with 14681 additions and 2869 deletions

BIN
app-icon.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

11683
package-lock.json generated 100644

File diff suppressed because it is too large Load Diff

View File

@ -28,6 +28,7 @@
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.0.0-beta.8", "@tauri-apps/api": "^1.0.0-beta.8",
"sharp": "^0.30.0",
"sirv-cli": "^2.0.0" "sirv-cli": "^2.0.0"
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 903 B

After

Width:  |  Height:  |  Size: 686 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -2,7 +2,7 @@ extern crate slidershim;
use std::io; use std::io;
use slidershim::slider_io::{Config, Context}; // use slidershim::slider_io::{Config, Context};
fn main() { fn main() {
env_logger::Builder::new() env_logger::Builder::new()
@ -10,16 +10,16 @@ fn main() {
.init(); .init();
// voltex? // voltex?
let config = Config::from_str( // let config = Config::from_str(
r#"{ // r#"{
"deviceMode": "yuancon", // "deviceMode": "yuancon",
"outputMode": "gamepad-voltex", // "outputMode": "gamepad-voltex",
"keyboardSensitivity": 50, // "keyboardSensitivity": 50,
"ledMode": "reactive-voltex", // "ledMode": "reactive-voltex",
"ledSensitivity": 50 // "ledSensitivity": 50
}"#, // }"#,
) // )
.unwrap(); // .unwrap();
// serial? // serial?
// let config = Config::from_str( // let config = Config::from_str(
@ -57,7 +57,7 @@ fn main() {
// ) // )
// .unwrap(); // .unwrap();
let manager = Context::new(config); // let manager = Context::new(config);
let mut input = String::new(); let mut input = String::new();
let string = io::stdin().read_line(&mut input).unwrap(); let string = io::stdin().read_line(&mut input).unwrap();

View File

@ -21,7 +21,9 @@
"icons/icon.icns", "icons/icon.icns",
"icons/icon.ico" "icons/icon.ico"
], ],
"resources": [], "resources": [
"res/*"
],
"externalBin": [], "externalBin": [],
"copyright": "", "copyright": "",
"category": "DeveloperTool", "category": "DeveloperTool",

5836
yarn.lock

File diff suppressed because it is too large Load Diff