Added capslock functionality

Added keyboard layout func
This commit is contained in:
2026-03-16 15:10:23 +01:00
parent f489a6e46e
commit 5e47f8a69c
5 changed files with 32 additions and 2 deletions
+4
View File
@@ -107,6 +107,10 @@ impl LockedSurface {
self.key_highlight_shown = false;
}
// Update caps lock state in renderer
self.renderer.caps_lock = self.input_handler.caps_lock();
log::debug!("Caps lock state: {}", self.input_handler.caps_lock());
// Set background if available and not already applied
if !self.background_applied {
if let Some(ref background) = self.background {