mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 12:49:47 +01:00
e
This commit is contained in:
parent
afe8d2a2b9
commit
f40d6ce4ae
1 changed files with 0 additions and 19 deletions
|
@ -266,25 +266,6 @@ static bool isDRMCard(const char* sysname) {
|
|||
void Aquamarine::CSession::onReady() {
|
||||
dispatchLibseatEvents();
|
||||
dispatchLibinputEvents();
|
||||
|
||||
for (auto const& d : libinputDevices) {
|
||||
if (d->keyboard)
|
||||
backend->events.newKeyboard.emit(SP<IKeyboard>(d->keyboard));
|
||||
if (d->mouse)
|
||||
backend->events.newPointer.emit(SP<IPointer>(d->mouse));
|
||||
if (d->touch)
|
||||
backend->events.newTouch.emit(SP<ITouch>(d->touch));
|
||||
if (d->switchy)
|
||||
backend->events.newSwitch.emit(SP<ITouch>(d->touch));
|
||||
if (d->tablet)
|
||||
backend->events.newTablet.emit(SP<ITablet>(d->tablet));
|
||||
if (d->tabletPad)
|
||||
backend->events.newTabletPad.emit(SP<ITabletPad>(d->tabletPad));
|
||||
|
||||
for (auto const& t : d->tabletTools) {
|
||||
backend->events.newTabletTool.emit(SP<ITabletTool>(t));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Aquamarine::CSession::dispatchUdevEvents() {
|
||||
|
|
Loading…
Reference in a new issue