Skip to content

Commit

Permalink
Update notification message when probable_stuck_event
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Apr 13, 2024
1 parent f23e4a9 commit 00182ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/grabber/include/grabber/device_grabber.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,8 +922,10 @@ class device_grabber final : public pqrs::dispatcher::extra::dispatcher_client {
if (notification_message_manager_) {
notification_message_manager_->async_set_device_ungrabbable_temporarily_message(
entry->get_device_id(),
fmt::format("Probable stuck key detected! "
"{0} is ignored temporarily until {1} is pressed again.",
fmt::format("Probable stuck key detected!\n\n"
"{0} is ignored temporarily until {1} is pressed again.\n\n"
"Key may have been held when keyboard was grabbed. "
"Is the keyboard reconnecting while in use?",
entry->get_device_short_name(),
nlohmann::json(*event).dump()));
}
Expand Down

0 comments on commit 00182ec

Please sign in to comment.