Browse Source
Merge pull request #8162 from german77/bombslinger
service: hid: Partially revert #8123
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/core/hle/service/hid/hid.cpp
|
|
|
@ -63,6 +63,10 @@ IAppletResource::IAppletResource(Core::System& system_, |
|
|
|
MakeController<Controller_Gesture>(HidController::Gesture); |
|
|
|
MakeController<Controller_ConsoleSixAxis>(HidController::ConsoleSixAxisSensor); |
|
|
|
|
|
|
|
// Homebrew doesn't try to activate some controllers, so we activate them by default
|
|
|
|
GetController<Controller_NPad>(HidController::NPad).ActivateController(); |
|
|
|
GetController<Controller_Touchscreen>(HidController::Touchscreen).ActivateController(); |
|
|
|
|
|
|
|
GetController<Controller_Stubbed>(HidController::HomeButton).SetCommonHeaderOffset(0x4C00); |
|
|
|
GetController<Controller_Stubbed>(HidController::SleepButton).SetCommonHeaderOffset(0x4E00); |
|
|
|
GetController<Controller_Stubbed>(HidController::CaptureButton).SetCommonHeaderOffset(0x5000); |
|
|
|
|