Avoid initializing single-joycon layouts with handheld controller

This commit is contained in:
Zach Hilman 2018-06-13 13:01:05 -04:00
parent 6f0b2ba7cf
commit 93c0478c5c
2 changed files with 5 additions and 1 deletions

View file

@ -13,6 +13,7 @@ namespace Service::HID {
constexpr u32 HID_NUM_ENTRIES = 17;
constexpr u32 HID_NUM_LAYOUTS = 7;
constexpr u32 HID_NUM_LAYOUTS_HANDHELD = 2;
constexpr s32 HID_JOYSTICK_MAX = 0x8000;
constexpr s32 HID_JOYSTICK_MIN = -0x8000;