diff --git a/README.md b/README.md index 31d59d7..a99b861 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Made with Rust (Tauri) and Vue. Technically multiplatform. Contributions welcome ## Usage -Download a prebuilt binary from [Modding Re:Fresh](https://discord.gg/jxvzHjjEmc) or build it yourself: +Download a prebuilt binary from [Releases](https://gitea.tendokyu.moe/akanyan/STARTLINER/releases) or build it yourself: ```sh bun install diff --git a/rust/src/model/profile.rs b/rust/src/model/profile.rs index fed1743..0782152 100644 --- a/rust/src/model/profile.rs +++ b/rust/src/model/profile.rs @@ -203,7 +203,6 @@ impl Default for OngekiKeyboard { #[derive(Deserialize, Serialize, Clone, Debug)] pub struct ChunithmKeyboard { - pub split_ir: bool, pub coin: i32, pub svc: i32, pub test: i32, @@ -214,7 +213,6 @@ pub struct ChunithmKeyboard { impl Default for ChunithmKeyboard { fn default() -> Self { Self { - split_ir: false, test: 0x70, svc: 0x71, coin: 0x72, diff --git a/rust/src/modules/keyboard.rs b/rust/src/modules/keyboard.rs index c461dfd..713584f 100644 --- a/rust/src/modules/keyboard.rs +++ b/rust/src/modules/keyboard.rs @@ -54,10 +54,6 @@ impl Keyboard { parse_int_field!(s, "test", kb.test); parse_int_field!(s, "service", kb.svc); parse_int_field!(s, "coin", kb.coin); - - let mut ir: i32 = 1; - parse_int_field!(s, "ir", ir); - kb.split_ir = if ir == 0 { true } else { false }; } if let Some(s) = ini.section(Some("slider")) { @@ -101,17 +97,14 @@ impl Keyboard { for (i, cell) in kb.cell.iter().enumerate() { ini.with_section(Some("slider")).set(format!("cell{}", i + 1), cell.to_string()); } - if kb.split_ir { - for (i, ir) in kb.ir.iter().enumerate() { - ini.with_section(Some("ir")).set(format!("ir{}", i + 1), ir.to_string()); - } - } else { - ini.with_section(Some("io3")).set("ir", kb.ir[0].to_string()); + for (i, ir) in kb.ir.iter().enumerate() { + ini.with_section(Some("ir")).set(format!("ir{}", i + 1), ir.to_string()); } ini.with_section(Some("io3")) .set("test", kb.test.to_string()) .set("service", kb.svc.to_string()) - .set("coin", kb.coin.to_string()); + .set("coin", kb.coin.to_string()) + .set("ir", "0"); } } diff --git a/src/components/options/Keyboard.vue b/src/components/options/Keyboard.vue index 22f5373..e28d314 100644 --- a/src/components/options/Keyboard.vue +++ b/src/components/options/Keyboard.vue @@ -5,7 +5,6 @@ import KeyboardKey from '../KeyboardKey.vue'; import OptionCategory from '../OptionCategory.vue'; import OptionRow from '../OptionRow.vue'; import { usePrfStore } from '../../stores'; -import { ChunithmButtons } from '@/types'; ToggleSwitch; @@ -29,12 +28,7 @@ const prf = usePrfStore(); option-value="value" /> - - - +
@@ -102,12 +96,6 @@ const prf = usePrfStore(); class="flex flex-row flex-nowrap gap-2 self-center w-full" >
-
- -