Hints backend (#234)

* Generate hints from list of actions

* Remove redundant Key from output

* Improve formatting

* Change logging verbosity for hints
This commit is contained in:
TrueDoctor
2021-07-24 01:09:24 +02:00
committed by Keavon Chambers
parent 76d57ab25d
commit 8cab7222a2
3 changed files with 36 additions and 4 deletions
@@ -33,6 +33,7 @@ impl Dispatcher {
) || MessageDiscriminant::from(&message).local_name().ends_with("MouseMove"))
{
log::trace!("Message: {}", message.to_discriminant().local_name());
log::trace!("Hints:{}", self.input_mapper.hints(self.collect_actions()));
}
match message {
NoOp => (),