mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Prep release
This commit is contained in:
28
CHANGELOG.md
28
CHANGELOG.md
@@ -5,10 +5,32 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
## [0.13.0] - 2020-29-06
|
||||
### Changed
|
||||
- Dbus command LedWriteBytes renamed to SetKeyBacklight
|
||||
- Dbus signal LedCancelEffect renamed to KeyBacklightChanged
|
||||
- Dbus command SetKeyBacklight will now take a JSON string instead of an array of bytes
|
||||
- Dbus command `LedWriteBytes` renamed to `SetKeyBacklight`
|
||||
- Dbus command `SetKeyBacklight` will now take a JSON string instead of an array of bytes
|
||||
+ Example:
|
||||
```
|
||||
{
|
||||
"Breathe": {
|
||||
"help": false,
|
||||
"colour": [
|
||||
254,
|
||||
5,
|
||||
171
|
||||
],
|
||||
"colour2": [
|
||||
0,
|
||||
156,
|
||||
156
|
||||
],
|
||||
"speed": "High"
|
||||
}
|
||||
}
|
||||
```
|
||||
note that `help` is unused but required as a side-effect of using `gumdrop`
|
||||
for CLI.
|
||||
- Dbus signal `LedCancelEffect` renamed to `KeyBacklightChanged`
|
||||
- Config file is now in JSON format, and will store only the LED modes that a laptop
|
||||
supports rather than the whole set
|
||||
|
||||
|
||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -750,7 +750,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rog-daemon"
|
||||
version = "0.12.2"
|
||||
version = "0.13.0"
|
||||
dependencies = [
|
||||
"dbus",
|
||||
"dbus-tokio",
|
||||
|
||||
2
Makefile
2
Makefile
@@ -54,6 +54,6 @@ vendor:
|
||||
|
||||
target/release/$(BIN): $(SRC)
|
||||
ifeq ($(VENDORED),1)
|
||||
tar pxf vendor_rog-core_<version>.tar.xz
|
||||
tar pxf vendor.tar.xz
|
||||
endif
|
||||
cargo build $(ARGS)
|
||||
|
||||
31
debian/changelog
vendored
31
debian/changelog
vendored
@@ -1,3 +1,34 @@
|
||||
rog-core (0.13.0) focal; urgency=medium
|
||||
|
||||
- Dbus command `LedWriteBytes` renamed to `SetKeyBacklight`
|
||||
- Dbus command `SetKeyBacklight` will now take a JSON string instead of an array of bytes
|
||||
+ Example:
|
||||
```
|
||||
{
|
||||
"Breathe": {
|
||||
"help": false,
|
||||
"colour": [
|
||||
254,
|
||||
5,
|
||||
171
|
||||
],
|
||||
"colour2": [
|
||||
0,
|
||||
156,
|
||||
156
|
||||
],
|
||||
"speed": "High"
|
||||
}
|
||||
}
|
||||
```
|
||||
note that `help` is unused but required as a side-effect of using `gumdrop`
|
||||
for CLI.
|
||||
- Dbus signal `LedCancelEffect` renamed to `KeyBacklightChanged`
|
||||
- Config file is now in JSON format, and will store only the LED modes that a laptop
|
||||
supports rather than the whole set
|
||||
|
||||
-- Luke Jones <luke@ljones.dev> Mon, 29 Jun 2020 21:45:51 +1200
|
||||
|
||||
rog-core (0.12.2) focal; urgency=medium
|
||||
|
||||
* Changed "FanMode", "ChargeLimit" to "SetFanMode", "SetChargeLimit"
|
||||
|
||||
@@ -100,7 +100,7 @@ impl AuraDbusWriter {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn write_bytes(&self, mode: &AuraModes) -> Result<(), Box<dyn std::error::Error>> {
|
||||
pub fn write_keyboard_leds(&self, mode: &AuraModes) -> Result<(), Box<dyn std::error::Error>> {
|
||||
let mut msg =
|
||||
Message::new_method_call(DBUS_NAME, DBUS_PATH, DBUS_IFACE, "SetKeyBacklight")?
|
||||
.append1(serde_json::to_string(mode)?);
|
||||
@@ -129,12 +129,12 @@ impl AuraDbusWriter {
|
||||
|
||||
#[inline]
|
||||
pub fn write_builtin_mode(&self, mode: &AuraModes) -> Result<(), Box<dyn std::error::Error>> {
|
||||
self.write_bytes(mode)
|
||||
self.write_keyboard_leds(mode)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn write_brightness(&self, level: u8) -> Result<String, Box<dyn std::error::Error>> {
|
||||
self.write_bytes(&AuraModes::LedBrightness(level))?;
|
||||
self.write_keyboard_leds(&AuraModes::LedBrightness(level))?;
|
||||
Ok(String::new())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rog-daemon"
|
||||
version = "0.12.2"
|
||||
version = "0.13.0"
|
||||
license = "MPL-2.0"
|
||||
readme = "README.md"
|
||||
authors = ["Luke <luke@ljones.dev>"]
|
||||
|
||||
@@ -10,7 +10,7 @@ use rog_client::{
|
||||
LED_MSG_LEN,
|
||||
};
|
||||
|
||||
static VERSION: &str = "0.12.2";
|
||||
static VERSION: &str = "0.13.0";
|
||||
|
||||
#[derive(Debug, Options)]
|
||||
struct CLIStart {
|
||||
|
||||
Reference in New Issue
Block a user