Morph review first wave
This commit is contained in:
parent
e2e5f1beaf
commit
b564f024f0
23 changed files with 117 additions and 136 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace Core::HID {
|
||||
|
||||
EmulatedDevices::EmulatedDevices() {}
|
||||
EmulatedDevices::EmulatedDevices() = default;
|
||||
|
||||
EmulatedDevices::~EmulatedDevices() = default;
|
||||
|
||||
|
@ -332,7 +332,7 @@ MousePosition EmulatedDevices::GetMousePosition() const {
|
|||
}
|
||||
|
||||
void EmulatedDevices::TriggerOnChange(DeviceTriggerType type) {
|
||||
for (const std::pair<int, InterfaceUpdateCallback> poller_pair : callback_list) {
|
||||
for (const auto& poller_pair : callback_list) {
|
||||
const InterfaceUpdateCallback& poller = poller_pair.second;
|
||||
if (poller.on_change) {
|
||||
poller.on_change(type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue