Commit graph

68 commits

Author SHA1 Message Date
ndeadly
0f82ff578e btdrv-mitm: handle events with a single thread 2020-06-22 23:14:54 +02:00
ndeadly
bd3f7aa70e btdrv-mitm: don't redirect bluetooth HID events 2020-06-21 00:07:34 +02:00
ndeadly
daddcc15f7 btdrv-mitm: reorganise mitm event handling and add argument for program_id to GetEventInfo functions 2020-06-18 01:40:11 +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
5df012fa6a btdrv-mitm: update json to better match btdrv npdm 2020-06-18 01:28:06 +02:00
ndeadly
8acb76913b btdrv-mitm: only initialise fake shared memory on fw >= 7.0.0 2020-06-15 14:13:17 +02:00
ndeadly
a2654fd250 btdrv-mitm: changed CircularBuffer id member type to CircularBufferType 2020-06-15 11:07:00 +02:00
ndeadly
afc3fe3ac5 btdrv-mitm: rename Service* parameter to srv in btdrv_shim functions 2020-06-15 11:05:41 +02:00
ndeadly
904ce908bf btdrv-mitm: ensure space for \0 at the end of CircularBuffer name string 2020-06-15 11:04:38 +02:00
ndeadly
2357ae4a9c btdrv-mitm: fix hos version check for hid report data format 2020-06-15 01:52:31 +02:00
ndeadly
48376acd37 btdrv-mitm: properly intercept BLE events and mitm GetBleManagedEventInfo 2020-06-15 01:14:09 +02:00
ndeadly
5a178f5228 btdrv-mitm: streamline event handling/intialisation 2020-06-15 00:18:46 +02:00
ndeadly
9adfa731cd btdrv-mitm: improve connection event logging 2020-06-14 16:29:23 +02:00
ndeadly
a604db6012 btdrv-mitm: change RedirectSystemEvents return type to void 2020-06-14 16:28:46 +02:00
ndeadly
4b99a4a0ef btdrv-mitm: megre ProcessHidReportPackets function into HandleEvent 2020-06-14 13:10:09 +02:00
ndeadly
3b8c16bc24 btdrv-mitm: move and rename circularbuffer source files 2020-06-14 00:41:14 +02:00
ndeadly
1197fdeb69 btdrv-mitm: renamed bluetooth interface handler files 2020-06-13 21:27:07 +02:00
ndeadly
aedca57a3e btdrv-mitm: refactor event handling code to make use of namespaces 2020-06-13 19:15:59 +02:00
ndeadly
417a7a6f85 btdrv-mitm: switch order of BluetoothController members to match initialization list 2020-06-13 19:14:00 +02:00
ndeadly
003a4f0edd btdrv-mitm: add code for psc:pm 2020-06-13 19:12:58 +02:00
ndeadly
2e8131354b btdrv-mitm: update .gitignore to include .npdm files 2020-06-13 02:11:27 +02:00
ndeadly
e60a87bdf8 btdrv-mitm: start adding means of assigning and keeping track of controller player number designation 2020-06-13 02:11:05 +02:00
ndeadly
3720069944 btdrv-mitm: randomise dualshock4 led colour on controller init 2020-06-13 02:10:09 +02:00
ndeadly
8801c80758 btdrv-mitm: comment out hiddbg init/cleanup until we can use it without failure 2020-06-13 02:09:38 +02:00
ndeadly
9363e3b590 btdrv-mitm: refactor event handling code out of main mitm service definition 2020-06-13 02:08:43 +02:00
ndeadly
e0c1e89542 btdrv-mitm: restore virtual controller functions 2020-06-13 02:05:48 +02:00
ndeadly
1356843f17 btdrv-mitm: add preliminary support for mitm on < 10.0.0 2020-06-12 23:25:09 +02:00
ndeadly
fe08324e90 btdrv-mitm: clean up hid report handling code 2020-06-11 20:35:27 +02:00
ndeadly
a06da817ff btdrv-mitm: move controller handling code into controller manager 2020-06-11 20:34:14 +02:00
ndeadly
149091351d btdrv-mitm: clean up CircularBuffer class 2020-06-11 16:03:41 +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
cbed66428b btdrv-mitm: add (and comment out for now) hdls init and cleanup calls 2020-06-10 22:58:41 +02:00
ndeadly
800388032b btdrv-mitm: make use of auto keyword in controller identification loops 2020-06-10 22:38:51 +02:00
ndeadly
4ab452d382 btdrv-mitm: reenable custom exception handler code 2020-06-10 22:36:03 +02:00
ndeadly
10c9f31f75 btdrv-mitm: initialise hid:dbg service 2020-06-10 00:34:15 +02:00
ndeadly
a08c8a2798 Update libnx 2020-06-10 00:28:20 +02:00
ndeadly
276f5ee896 Attempt to prevent disconnect/crash when bond completes 2020-06-10 00:21:51 +02:00
ndeadly
88d21811c4 applet: remove btmdbg and reinstate btm service sessions 2020-06-09 22:47:57 +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
d75cc58ac1 applet: rename argument 2020-06-09 22:03:07 +02:00
ndeadly
6da74e5473 Update .gitignore to include IDA Pro file extensions 2020-06-09 22:02:20 +02:00
ndeadly
28a542405b btdrv-mitm: improve CircularBuffer code 2020-06-09 21:59:31 +02:00
ndeadly
2c46ae342d btdrv-mitm: add CancelBond mitm 2020-06-09 21:58:32 +02:00
ndeadly
6f53f110dd sysmodule: fixed copy-paste error in dualshock4 controller handler 2020-06-09 21:49:49 +02:00
ndeadly
b93465db41 applet: remove btm calls and reintroduce some logging calls 2020-06-02 23:28:50 +02:00
ndeadly
9cec1d752e applet: call btdrv-mitm extension function to redirect bluetooth core events while applet is running 2020-06-02 23:27:57 +02:00
ndeadly
66600e553c Update .gitignore 2020-06-02 23:25:53 +02:00
ndeadly
32c14beae5 stop tracking applet.nro 2020-06-02 23:25:30 +02:00