Morph review first wave
This commit is contained in:
parent
e2e5f1beaf
commit
b564f024f0
23 changed files with 117 additions and 136 deletions
|
@ -6,7 +6,7 @@
|
|||
#include "core/hid/input_converter.h"
|
||||
|
||||
namespace Core::HID {
|
||||
EmulatedConsole::EmulatedConsole() {}
|
||||
EmulatedConsole::EmulatedConsole() = default;
|
||||
|
||||
EmulatedConsole::~EmulatedConsole() = default;
|
||||
|
||||
|
@ -191,7 +191,7 @@ TouchFingerState EmulatedConsole::GetTouch() const {
|
|||
}
|
||||
|
||||
void EmulatedConsole::TriggerOnChange(ConsoleTriggerType type) {
|
||||
for (const std::pair<int, ConsoleUpdateCallback> poller_pair : callback_list) {
|
||||
for (const auto& poller_pair : callback_list) {
|
||||
const ConsoleUpdateCallback& poller = poller_pair.second;
|
||||
if (poller.on_change) {
|
||||
poller.on_change(type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue