Commit graph

459 commits

Author SHA1 Message Date
ndeadly
e275318953 btdrv-mitm: misc cleanup 2020-08-04 22:19:12 +02:00
ndeadly
046f58529e btdrv-mitm: make individual service calls for redirecting system events for each bluetooth interface 2020-08-04 22:18:15 +02:00
ndeadly
7148c02125 btdrv-mitm: move another empty constructor into header 2020-08-04 22:16:42 +02:00
ndeadly
473db01565 Update readme 2020-07-30 22:23:42 +02:00
ndeadly
e5b0d3135c btdrv-mitm: reduce max sessions 2020-07-30 22:22:37 +02:00
ndeadly
ad3cf4db74 btdrv-mitm: misc code cleanup 2020-07-30 22:21:37 +02:00
ndeadly
5519283cb3 btdrv-mitm: minor improvements to bluetooth::CircularBuffer 2020-07-30 22:10: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
c34f2da65c Clean up .gitignore 2020-07-30 17:02:53 +02:00
ndeadly
c63009fcd7 btdrv-mitm: add check for wii devices before sending pin reply 2020-07-28 01:35:34 +02:00
ndeadly
b5efd5e737 btdrv-mitm: remove misc commented code 2020-07-28 01:02:17 +02:00
ndeadly
bc4622768f btdrv-mitm: remove psc:m code 2020-07-28 01:00:00 +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
fbf85a2fa3 btdrv-mitm: use CircularBuffer Read and Free methods instead of messing with its internals 2020-07-27 23:34:31 +02:00
ndeadly
8476eae334 btdrv-mitm: change CircularBuffer back to class 2020-07-27 23:33:07 +02:00
ndeadly
7676b920d2 btdrv-mitm: remove unused Set/GetHidReport mitm functions 2020-07-27 23:31:03 +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
672947e35f Update makefile to build and package boot2 2020-07-25 10:59:38 +02:00
ndeadly
79c6455841 Add Atmosphere as submodule and update Atmosphere-libs 2020-07-21 12:30:08 +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
f20631dbbc Update top level makefile 2020-07-15 18:59:16 +02:00
ndeadly
6ac9edfa22 Update readme 2020-07-14 13:47:06 +02:00
ndeadly
1d8e761405 Add generalised exefs patches for all firmware to make bluetooth PinReply function actually use the pincode passed over IPC 2020-07-14 13:27:13 +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
435ad27951 btdrv-mitm: halve memory footprint 2020-07-12 14:46:52 +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
232d2f933f btdrv-mitm: make flags part of namespace 2020-07-11 21:08:32 +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
f3c587ac05 btdrv-mitm: add cases to respond to SPI write and sector erase subcommands 2020-07-09 23:42:01 +02:00
ndeadly
9605785647 btdrv-mitm: mark subcommand reponses as const 2020-07-09 23:36:17 +02:00