This source file includes following definitions.
- WillProcessEvent
- DidProcessEvent
#include "ui/aura/device_list_updater_aurax11.h"
#include <X11/extensions/XInput2.h>
#include "ui/events/event_utils.h"
namespace aura {
DeviceListUpdaterAuraX11::DeviceListUpdaterAuraX11() {}
DeviceListUpdaterAuraX11::~DeviceListUpdaterAuraX11() {}
base::EventStatus DeviceListUpdaterAuraX11::WillProcessEvent(
const base::NativeEvent& event) {
if (event->type == GenericEvent &&
event->xgeneric.evtype == XI_HierarchyChanged) {
ui::UpdateDeviceList();
}
return base::EVENT_CONTINUE;
}
void DeviceListUpdaterAuraX11::DidProcessEvent(const base::NativeEvent& event) {
}
}