Commit graph

44 commits

Author SHA1 Message Date
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
ndeadly
396b1a0268 btdrv-mitm: switch order of address and controller type in BluetoothController class 2020-06-10 23:07:18 +02:00
ndeadly
bcc34cf5eb btdrv-mitm: get fake bluetooth circular buffer working and translate incoming packets from non-switch controllers to switch input report 0x30 2020-06-09 22:39:30 +02:00
ndeadly
3aa2ea490d btdrv-mitm: track missing files and bring up to current working state 2020-06-02 23:24:40 +02:00