From 4c905b1a8b3c253fdcd26a7177fafd0b8a6abd9d Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 9 Jul 2024 23:47:15 +0200 Subject: [PATCH] ok gulafaran --- src/devices/IKeyboard.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/IKeyboard.hpp b/src/devices/IKeyboard.hpp index 2980a5b1..e538bcd7 100644 --- a/src/devices/IKeyboard.hpp +++ b/src/devices/IKeyboard.hpp @@ -82,8 +82,8 @@ class IKeyboard : public IHID { uint32_t depressed = 0, latched = 0, locked = 0, group = 0; } modifiersState; - std::array ledIndexes = {0}; - std::array modIndexes = {0}; + std::array ledIndexes = {XKB_MOD_INVALID}; + std::array modIndexes = {XKB_MOD_INVALID}; uint32_t leds = 0; std::string hlName = "";