From d24f4e2f4283caaa87dacdb5f4dbdc62769b2f38 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 21 Jun 2024 16:45:22 +0200 Subject: [PATCH] input: add leds func to keyboard --- include/aquamarine/input/Input.hpp | 1 + src/input/Input.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/include/aquamarine/input/Input.hpp b/include/aquamarine/input/Input.hpp index a9fd6f9..9d3838c 100644 --- a/include/aquamarine/input/Input.hpp +++ b/include/aquamarine/input/Input.hpp @@ -13,6 +13,7 @@ namespace Aquamarine { } virtual libinput_device* getLibinputHandle(); virtual const std::string& getName() = 0; + virtual void updateLEDs(uint32_t leds); struct SKeyEvent { uint32_t timeMs = 0; diff --git a/src/input/Input.cpp b/src/input/Input.cpp index 4541b9a..3a7cfaf 100644 --- a/src/input/Input.cpp +++ b/src/input/Input.cpp @@ -7,3 +7,7 @@ libinput_device* Aquamarine::IPointer::getLibinputHandle() { libinput_device* Aquamarine::IKeyboard::getLibinputHandle() { return nullptr; } + +void Aquamarine::IKeyboard::updateLEDs(uint32_t leds) { + ; +}