mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 00:55:45 +00:00
service: hid: Set last connected controller as active
This commit is contained in:
parent
3ff84838ab
commit
3ed5dd2ed9
1 changed files with 1 additions and 0 deletions
|
@ -346,6 +346,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
|
||||||
}
|
}
|
||||||
SignalStyleSetChangedEvent(npad_id);
|
SignalStyleSetChangedEvent(npad_id);
|
||||||
WriteEmptyEntry(controller.shared_memory);
|
WriteEmptyEntry(controller.shared_memory);
|
||||||
|
hid_core.SetLastActiveController(npad_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Controller_NPad::OnInit() {
|
void Controller_NPad::OnInit() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue