input: add leds func to keyboard

This commit is contained in:
Vaxry 2024-06-21 16:45:22 +02:00
parent d175f21619
commit d24f4e2f42
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -7,3 +7,7 @@ libinput_device* Aquamarine::IPointer::getLibinputHandle() {
libinput_device* Aquamarine::IKeyboard::getLibinputHandle() {
return nullptr;
}
void Aquamarine::IKeyboard::updateLEDs(uint32_t leds) {
;
}