From 1c1c5610db44b54db7ec58a83b5bff8cba8cfc4f Mon Sep 17 00:00:00 2001 From: hiki8man <63759994+hiki8man@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:21:06 +0800 Subject: [PATCH] Update DualShock4.h add HORI HATSUNE MIKU 39S CONTROLLER guid to suooprt switch hori controller --- .../source/plugins/TLAC/Input/DirectInput/Ds4/DualShock4.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source-code/source/plugins/TLAC/Input/DirectInput/Ds4/DualShock4.h b/source-code/source/plugins/TLAC/Input/DirectInput/Ds4/DualShock4.h index 3d5f0d0a..22abc40f 100644 --- a/source-code/source/plugins/TLAC/Input/DirectInput/Ds4/DualShock4.h +++ b/source-code/source/plugins/TLAC/Input/DirectInput/Ds4/DualShock4.h @@ -21,7 +21,9 @@ namespace TLAC::Input // Hori F2nd Miniboard (Hatsune Miku Sho): {00490F0D-0000-0000-0000-504944564944} { 0x00490F0D, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } }, // Hori FT Senyou: {013C0F0D-0000-0000-0000-504944564944} - { 0x013C0F0D, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } } + { 0x013C0F0D, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } }, + // HORI HATSUNE MIKU 39S CONTROLLER: {00FB0F0D-0000-0000-0000-504944564944} + { 0x00FB0F0D, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } } }; class DualShock4 : public Controller, public IInputDevice @@ -72,4 +74,4 @@ namespace TLAC::Input bool MatchesDirection(Joystick joystick, Direction directionEnum, float threshold); bool GetButtonState(Ds4State &state, Ds4Button button); }; -} \ No newline at end of file +}