mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Prep new version
This commit is contained in:
@@ -5,12 +5,13 @@ 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.14.0] - 2020-01-07
|
||||
### Changed
|
||||
- Further refine the way setting LED modes works so it is more universal, this
|
||||
also allows for setting the brightness through `SetKeyBacklight`
|
||||
|
||||
### Added
|
||||
- README_DBUS.md to document DBUS interface
|
||||
- `README_DBUS.md` to document DBUS interface
|
||||
- Dbus method `GetKeyBacklight`
|
||||
- Dbus method `GetKeyBacklightModes`
|
||||
|
||||
|
||||
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -697,7 +697,7 @@ checksum = "cabe4fa914dec5870285fa7f71f602645da47c486e68486d2b4ceb4a343e90ac"
|
||||
|
||||
[[package]]
|
||||
name = "rog-client"
|
||||
version = "0.13.1"
|
||||
version = "0.14.0"
|
||||
dependencies = [
|
||||
"dbus",
|
||||
"gumdrop",
|
||||
@@ -710,7 +710,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rog-daemon"
|
||||
version = "0.13.1"
|
||||
version = "0.14.0"
|
||||
dependencies = [
|
||||
"dbus",
|
||||
"dbus-tokio",
|
||||
|
||||
10
debian/changelog
vendored
10
debian/changelog
vendored
@@ -1,3 +1,13 @@
|
||||
rog-core (0.14.0) focal; urgency=medium
|
||||
|
||||
- Further refine the way setting LED modes works so it is more universal, this
|
||||
also allows for setting the brightness through `SetKeyBacklight`
|
||||
- `README_DBUS.md` to document DBUS interface
|
||||
- Dbus method `GetKeyBacklight`
|
||||
- Dbus method `GetKeyBacklightModes`
|
||||
|
||||
-- Luke Jones <luke@ljones.dev> Wed, 01 Jul 2020 11:04:34 +1200
|
||||
|
||||
rog-core (0.13.1) focal; urgency=medium
|
||||
|
||||
* Properly initialise the device
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rog-client"
|
||||
version = "0.13.1"
|
||||
version = "0.14.0"
|
||||
license = "MPL-2.0"
|
||||
readme = "README.md"
|
||||
authors = ["Luke <luke@ljones.dev>"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rog-daemon"
|
||||
version = "0.13.1"
|
||||
version = "0.14.0"
|
||||
license = "MPL-2.0"
|
||||
readme = "README.md"
|
||||
authors = ["Luke <luke@ljones.dev>"]
|
||||
|
||||
@@ -128,7 +128,6 @@ where
|
||||
} else {
|
||||
self.write_effect(v).await?;
|
||||
}
|
||||
return Ok(());
|
||||
}
|
||||
AuraModes::LedBrightness(n) => {
|
||||
let bytes: [u8; LED_MSG_LEN] = (&mode).into();
|
||||
@@ -136,7 +135,6 @@ where
|
||||
config.brightness = n;
|
||||
config.write();
|
||||
info!("LED brightness set to {:#?}", n);
|
||||
return Ok(());
|
||||
}
|
||||
_ => {
|
||||
let mode_num: u8 = u8::from(&mode);
|
||||
@@ -163,9 +161,9 @@ where
|
||||
config.set_mode_data(mode);
|
||||
config.write();
|
||||
info!("Switched LED mode to {:#?}", config.current_mode);
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
||||
@@ -8,7 +8,7 @@ use rog_client::{
|
||||
};
|
||||
use std::io::Write;
|
||||
|
||||
static VERSION: &str = "0.13.1";
|
||||
static VERSION: &str = "0.14.0";
|
||||
|
||||
#[derive(Options)]
|
||||
struct CLIStart {
|
||||
|
||||
@@ -66,7 +66,7 @@ fn get_keyboard_backlight_modes(config: Arc<Mutex<Config>>) -> Method<MTSync, ()
|
||||
if let Ok(lock) = config.try_lock() {
|
||||
let mode = serde_json::to_string(&lock.builtin_modes).unwrap();
|
||||
let mret = m.msg.method_return().append1(mode);
|
||||
return Ok(vec![mret]);
|
||||
Ok(vec![mret])
|
||||
} else {
|
||||
Err(MethodErr::failed("Could not lock config for access"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user