Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Sep 23, 2024
1 parent afe8d2a commit f40d6ce
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/backend/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f40d6ce

Please sign in to comment.