Initial DualSense Support (#9308)

* Initial DualSense Support

* Add Vibration Support

* Add CRC32 Validation to Incoming Bluetooth Packets
Cleanup report sizes

* Consistency, remove button comments, add two buttons.

Co-authored-by: Ani <ani-leo@outlook.com>
This commit is contained in:
Luke Barr 2020-12-12 17:00:45 -06:00 committed by GitHub
parent ee814cfd0c
commit cb8ef46ec7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 854 additions and 0 deletions

View file

@ -3,6 +3,7 @@
#include "product_info.h"
#include "ds3_pad_handler.h"
#include "ds4_pad_handler.h"
#include "dualsense_pad_handler.h"
#ifdef _WIN32
#include "xinput_pad_handler.h"
#include "mm_joystick_handler.h"
@ -123,6 +124,9 @@ void pad_thread::Init()
case pad_handler::ds4:
cur_pad_handler = std::make_shared<ds4_pad_handler>();
break;
case pad_handler::dualsense:
cur_pad_handler = std::make_shared<dualsense_pad_handler>();
break;
#ifdef _WIN32
case pad_handler::xinput:
cur_pad_handler = std::make_shared<xinput_pad_handler>();