Commit graph

53 commits

Author SHA1 Message Date
ndeadly
e275318953 btdrv-mitm: misc cleanup 2020-08-04 22:19:12 +02:00
ndeadly
7148c02125 btdrv-mitm: move another empty constructor into header 2020-08-04 22:16:42 +02:00
ndeadly
ad3cf4db74 btdrv-mitm: misc code cleanup 2020-07-30 22:21:37 +02:00
ndeadly
c5a5b1f456 btdrv-mitm: move empty constructor definitions into headers 2020-07-30 22:07:26 +02:00
ndeadly
4fae9c88cd btdrv-mitm: move joycon and pro controller class definitions into their own headers to match wii controllers 2020-07-30 22:05:46 +02:00
ndeadly
75938d205c btdrv-mitm: refactor wii controller code and add initial support for extension controllers 2020-07-30 22:04:15 +02:00
ndeadly
51e1ea44ae btdrv-mitm: move pro controller name string to single location in controller manager 2020-07-28 00:57:59 +02:00
ndeadly
200b6f2dda btdrv-mitm: handle outgoing hid reports in controller classes rather than main mitm code 2020-07-27 19:42:40 +02:00
ndeadly
a755b81a0f btdrv-mitm: send init packet to xbox one controllers upon connection 2020-07-27 19:39:49 +02:00
ndeadly
e3ee7f348a btdrv-mitm: remove bluetooth address argument from wii controller functions 2020-07-27 19:39:09 +02:00
ndeadly
0e5fc4200f btdrv-mitm: use initialisation lists in constructors 2020-07-21 12:15:52 +02:00
ndeadly
494dbf5e2f btdrv-mitm: rearrange some report definitions 2020-07-21 12:13:28 +02:00
ndeadly
b9747b5f95 btdrv-mitm: misc. code cleanup 2020-07-16 23:19:46 +02:00
ndeadly
fe49813bee btdrv-mitm: detect official joycons correctly when they have random hardware ids due to pairing via rails 2020-07-12 15:08:49 +02:00
ndeadly
d2068b7912 btdrv-mitm: use btdrvWriteData to send ds4 report to be consistent with other output reports 2020-07-12 01:26:09 +02:00
ndeadly
59158118e3 btdrv-mitm: misc. minor improvements 2020-07-11 23:53:30 +02:00
ndeadly
88e24fcac6 btdrv-mitm: add code to report controller battery level 2020-07-11 23:19:56 +02:00
ndeadly
8802a7b9ee btdrv-mitm: forgot to track fakeswitchcontroller 2020-07-11 21:11:13 +02:00
ndeadly
d300272ae9 btdrv-mitm: move controllermanager code into controllers namespace 2020-07-11 21:10:38 +02:00
ndeadly
13f3cb66cb btdrv-mitm: define more wii hid reports, implement queryStatus function to check wii controller state 2020-07-11 20:30:17 +02:00
ndeadly
7ab2263cdb btdrv-mitm: replace BluetoothController class with SwitchController, define subclass FakeSwitchController to inherit non-native controller classes from 2020-07-11 20:26:55 +02:00
ndeadly
154c6a441f btdrv-mitm: further improvements to controller reports 2020-07-11 15:24:00 +02:00
ndeadly
c87a46a39c btdrv-mitm: rename scale_factor variable to stickScaleFactor 2020-07-11 13:52:56 +02:00
ndeadly
89d98dc606 btdrv-mitm: remove uses of HidData, improve controller hid report structs, better namespace usage 2020-07-11 13:43:21 +02:00
ndeadly
23653904e8 btdrv-mitm: call member functions through 'this' pointer 2020-07-10 22:03:20 +02:00
ndeadly
f64c59b69f btdrv-mitm: add handler for xbox one battery status report (0x04) 2020-07-10 22:02:24 +02:00
ndeadly
4536cf6abd btdrv-mitm: log unhandled report ids as hex 2020-07-10 21:41:00 +02:00
ndeadly
d85142c407 btdrv-mitm: use the same player led colours as ps4 console for dualshock4 controller 2020-07-10 21:37:31 +02:00
ndeadly
e8e5553ee4 btdrv-mitm: forgot to save wiimote header 2020-07-10 00:52:47 +02:00
ndeadly
50b049553a btdrv-mitm: change wiimote report mode (0x31) to include accelerometer data. This also makes the controller show up properly on change grip/order screen 2020-07-10 00:46:11 +02:00
ndeadly
fc3601d9ee btdrv-mitm: comment out setting of dualshock4 battery level 2020-07-09 21:22:14 +02:00
ndeadly
48de099dc0 btdrv-mitm: move switch controller report structure definitions outside of SwitchReportData union 2020-07-09 21:21:10 +02:00
ndeadly
aeb66db506 btdrv-mitm: log unhandled input report ids from controllers 2020-07-09 21:20:08 +02:00
ndeadly
4f07c85992 btdrv-mitm: pack ds4 structs 2020-07-07 21:29:47 +02:00
ndeadly
96fc35e28e btdrv-mitm: fix typo in Dualshock4InputReport0x11 struct 2020-07-07 21:27:49 +02:00
ndeadly
6b260ffa9e btdrv-mitm: scale wii u pro controller stick coordinates 2020-07-04 21:19:52 +02:00
ndeadly
7a3c629cd1 btdrv-mitm: pack analog stick data correctly 2020-07-02 01:34:13 +02:00
ndeadly
43f97ef504 btdrv-mitm: get Wii(U) controllers working 2020-07-01 17:52:15 +02:00
ndeadly
67e82ab7cf btdrv-mitm: clean up stick processing code 2020-07-01 17:50:57 +02:00
ndeadly
85aed3aa4a btdrv-mitm: clear unset button state for xbox one controller 2020-07-01 15:27:02 +02:00
ndeadly
6177f83489 btdrv-mitm: improve handling of analog stick values 2020-07-01 15:21:05 +02:00
ndeadly
a0459f950c btdrv-mitm: translate analog stick data for xbox one and dualshock 4 controllers 2020-07-01 10:39:48 +02:00
ndeadly
9cbc2470ab btdrv-mitm: remove virtual controller code 2020-06-30 23:19:05 +02:00
ndeadly
00c89d21d2 btdrv-mitm: comment out virtual controller stuff for now 2020-06-28 17:21:07 +02:00
ndeadly
ec4ef00cf5 btdrv-mitm: only create hdls controllers when on hos >= 7.0.0 2020-06-18 01:36:56 +02:00
ndeadly
417a7a6f85 btdrv-mitm: switch order of BluetoothController members to match initialization list 2020-06-13 19:14:00 +02:00
ndeadly
3720069944 btdrv-mitm: randomise dualshock4 led colour on controller init 2020-06-13 02:10:09 +02:00
ndeadly
e0c1e89542 btdrv-mitm: restore virtual controller functions 2020-06-13 02:05:48 +02:00
ndeadly
360f8969cd btdrv-mitm: set dualshock4 controller colour on initialisation 2020-06-10 23:16:08 +02:00
ndeadly
d591d7b2b8 btdrv-mitm: begin adding virtual hdl controller code 2020-06-10 23:15:26 +02:00