Skip to content

Commit

Permalink
Update README, translations
Browse files Browse the repository at this point in the history
  • Loading branch information
aarol committed Nov 24, 2024
1 parent 9a7affe commit 054fb44
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Your headset might be unsupported due to being a newer model. Either [create a n

### Connection status updates slowly / unreliably

This sometimes happens when the SteelSeries GG application is open in the background. I haven't found a way to prevent this from happening yet.
Often the adapter (plugged into your PC) is *really slow* at updating its information whenever something happens, like headphones disconnecting / reconnecting. I haven't found a way to work around this yet. Shutting down the SteelSeries GG app *may* help on some occasions.

## Development

Expand All @@ -48,15 +48,16 @@ Rust and Cargo need to be installed.

* Installing the application locally: `cargo install`

* Debugging the application: press `F5` in VS Code with the Rust Analyzer extension installed.
* Debugging the application: press `F5` in VS Code with the Rust Analyzer extension and CodeLLDB installed.

## Todo

* Show rough estimations for battery remaining battery life (in hours)
* Updated icons to show charging states, etc.

## Adding a new headset

Add a new entry to the bottom of `KNOWN_HEADPHONES` in [hid.rs](src/hid.rs#L142) and submit a new pull request.
Add a new entry to the bottom of `KNOWN_HEADPHONES` in [headphone_models.rs](src/headphone_models.rs) and submit a new pull request.

The parameters, such as `write_bytes` and `battery_percent_idx` can be discovered by sniffing the USB traffic with something like [WireShark](https://www.wireshark.org/) and [USBPcap](https://desowin.org/usbpcap/)

Expand Down
22 changes: 13 additions & 9 deletions locales/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,32 @@ _version: 2

battery_remaining:
en-US: remaining
fi: jäljellä
fi-FI: jäljellä

no_adapter_found:
en-US: No headphone adapter found
fi: Kuulokeadapteria ei löytynyt
fi-FI: Kuulokeadapteria ei löytynyt

view_logs:
en-US: View logs
fi: Näytä lokitiedostot
fi-FI: Näytä lokitiedostot

view_on_github:
en-US: View on Github
fi: Näytä GitHubissa
view_updates:
en-US: View updates
fi-FI: Näytä päivitykset

quit_program:
en-US: Quit
fi: Lopeta
fi-FI: Lopeta

device_charging:
en-US: (Charging)
fi: (Latautuu)
fi-FI: (Latautuu)

device_disconnected:
en-US: (Disconnected)
fi: (Ei yhteyttä)
fi-FI: (Ei yhteyttä)

version:
en-US: Version
fi-FI: Versio

0 comments on commit 054fb44

Please sign in to comment.