Commit graph

63 commits

Author SHA1 Message Date
ndeadly
c6d318c90a btdrv-mitm: overhaul outgoing report handling 2020-08-25 02:05:19 +02:00
ndeadly
bae44c16f1 btdrv-mitm: simplify hid report handling 2020-08-24 22:45:11 +02:00
ndeadly
30a8bed0cd btdrv-mitm: misc. minor changes 2020-08-24 22:42:05 +02:00
ndeadly
78bd785fc0 btdrv-mitm: move FakeSubCmdResponse function into EmulatedSwitchController class 2020-08-18 21:49:11 +02:00
ndeadly
712605a153 btdrv-mitm: rename bluetooth system events 2020-08-17 23:34:54 +02:00
ndeadly
da70b13c69 btdrv-mitm: account for different hid event data structure in firmware < 9.0.0 2020-08-17 19:28:47 +02:00
ndeadly
e0e999534f btdrv-mitm: clean up pin reply code 2020-08-07 12:52:33 +02:00
ndeadly
8256e95a13 btdrv-mitm: remove device class check from pin/ssp request handlers so that xbox one controller will complete pairing 2020-08-06 21:37:35 +02:00
ndeadly
d375ed00e2 btdrv-mitm: fix for xbox one controller disconnections 2020-08-06 02:25:56 +02:00
ndeadly
f3c8d7d555 btdrv-mitm: don't handle incoming reports when hid report events are being redirected 2020-08-05 23:41:10 +02:00
ndeadly
87735d5876 btdrv-mitm: return nullptr if GetRealSharedMemory is called prior to 7.0.0 2020-08-05 20:56:11 +02:00
ndeadly
1d55a4539c btdrv-mitm: create fake buffer in shared memory for all firmwares 2020-08-05 20:38:31 +02:00
ndeadly
e310d89491 btdrv-mitm: fixed typos and removed some unhandled states 2020-08-05 01:32:43 +02:00
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
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
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
b9747b5f95 btdrv-mitm: misc. code cleanup 2020-07-16 23:19:46 +02:00
ndeadly
59158118e3 btdrv-mitm: misc. minor improvements 2020-07-11 23:53:30 +02:00
ndeadly
d300272ae9 btdrv-mitm: move controllermanager code into controllers namespace 2020-07-11 21:10:38 +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
89d98dc606 btdrv-mitm: remove uses of HidData, improve controller hid report structs, better namespace usage 2020-07-11 13:43:21 +02:00
ndeadly
9605785647 btdrv-mitm: mark subcommand reponses as const 2020-07-09 23:36:17 +02:00
ndeadly
4f0638a6ef btdrv-mitm: simplify subcommand response code 2020-07-09 23:31:39 +02:00
ndeadly
242fd43513 btdrv-mitm: remove remaining references to InitializeFakeSharedMemory function 2020-07-09 21:29:11 +02:00
ndeadly
db66d23ad7 btdrv: various changes to improve support for older firmware 2020-07-09 21:26:22 +02:00
ndeadly
990f704480 btdrv-mitm: change shared memory initialisation function to also initialise report buffer on firmware < 7.0.0 2020-07-09 19:44:12 +02:00
ndeadly
42e49af006 btdrv-mitm: introduce extension IPC call to redirect HID report events 2020-07-09 19:38:53 +02:00
ndeadly
fb248a5645 btdrv-mitm: comment out psc:m code 2020-07-07 21:26:29 +02:00
ndeadly
0aa9250f91 btdrv-mitm: rename CircularBuffer::AttachEvent to official name from nnSDK 2020-07-05 14:10:45 +02:00
ndeadly
31806f40db btdrv-mitm: initialise bluetooth CircularBuffer event as nullptr in constructor 2020-07-05 13:49:26 +02:00
ndeadly
43f97ef504 btdrv-mitm: get Wii(U) controllers working 2020-07-01 17:52:15 +02:00
ndeadly
0627de1865 btdrv-mitm: create aliases for libnx types inside bluetooth namespace 2020-07-01 15:34:07 +02:00
ndeadly
dda42962e2 btdrv-mitm: make use of auto 2020-07-01 15:29:09 +02:00
ndeadly
24de4fa145 btdrv-mitm: remove some unnecessary logging 2020-07-01 10:43:27 +02:00
ndeadly
fd41d0b606 btdrv-mitm: signal user events once again 2020-07-01 10:42:44 +02:00
ndeadly
87921e8ee6 btdrv-mitm: account for size of length field when handling BluetoothHidData 2020-07-01 10:41:23 +02:00
ndeadly
9cbc2470ab btdrv-mitm: remove virtual controller code 2020-06-30 23:19:05 +02:00
ndeadly
77f714ae68 btdrv-mitm: controllers pairing natively 2020-06-30 22:23:16 +02:00
ndeadly
45ec8670b2 btdrv-mitm: make GetPairedDeviceInfo work 2020-06-30 10:08:30 +02:00
ndeadly
1b0c776f72 btdrv-mitm: misc hid report changes 2020-06-28 17:22:37 +02:00
ndeadly
de8c86652d btdrv-mitm: add events to signal when event data has been read 2020-06-28 10:45:54 +02:00
ndeadly
8022387135 btdrv-mitm: various event handling changes 2020-06-25 23:50:43 +02:00