XInput Rumble

This commit is contained in:
nastys
2019-09-11 02:25:01 +02:00
parent b2d5311d79
commit 8d02025254
5 changed files with 21 additions and 6 deletions
@@ -5,7 +5,7 @@
namespace TLAC::Input
{
// DualShock 4 Controller Product GUIDs:
// Controller GUIDs:
const GUID GUID_Ds4[] =
{
// First Generation: {05C4054C-0000-0000-0000-504944564944}
@@ -15,9 +15,9 @@ namespace TLAC::Input
// GAMO2 DIVALLER: {11140E8F-0000-0000-0000-504944564944}
{ 0x11140E8F, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } },
// Hori HATSUNE MIKU X: {00A50F0D-0000-0000-0000-504944564944}
{ 0x00A50F0D, 0x0000, 0x0000,{ 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } },
{ 0x00A50F0D, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } },
// Hori F2nd Miniboard (Hatsune Miku Sho): {00490F0D-0000-0000-0000-504944564944}
{ 0x00490F0D, 0x0000, 0x0000,{ 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } },
{ 0x00490F0D, 0x0000, 0x0000, { 0x00, 0x00, 0x50, 0x49, 0x44, 0x56, 0x49, 0x44 } }
};
class DualShock4 : public Controller, public IInputDevice