diff options
| author | Weicao Mao <1992414357@qq.com> | 2025-06-14 05:42:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-14 05:42:44 +0800 |
| commit | b97ea45aa87bcc74820317700037d0d02623ea96 (patch) | |
| tree | 6196858a3435959e59069b99237c68158832e5a6 /apps/console/src/bin/padc.rs | |
| parent | f376085796ccb217d4c44166465ec39e00296e1d (diff) | |
Update padc.rs
Diffstat (limited to 'apps/console/src/bin/padc.rs')
| -rw-r--r-- | apps/console/src/bin/padc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/console/src/bin/padc.rs b/apps/console/src/bin/padc.rs index e34fee1..9194e5c 100644 --- a/apps/console/src/bin/padc.rs +++ b/apps/console/src/bin/padc.rs @@ -686,7 +686,7 @@ fn manage_keys(data: &mut LocalData, cmds: KeyManageCommands, get_map: fn(game: } fn local_config() -> PathBuf { - current_dir().unwrap().join("../../../../nogamepads.yaml") + current_dir().unwrap().join("./nogamepads.yaml") } fn read() -> LocalData { @@ -734,4 +734,4 @@ fn hsv_to_hex(h: i32, s: f64, v: f64) -> String { let g = ((g + m) * 255.0).round() as u8; let b = ((b + m) * 255.0).round() as u8; format!("#{:02X}{:02X}{:02X}", r, g, b) -}
\ No newline at end of file +} |
