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
|
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 |
|
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
|
860975964e
|
btdrv-mitm: remove ipc forwards for event info functions and comment out get/set report forwards
|
2020-07-09 21:23:48 +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
|
26c3f971ed
|
btdrv-mitm: add case for handling Set MCU State subcommand
|
2020-07-09 21:19:02 +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
|
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
|
fb248a5645
|
btdrv-mitm: comment out psc:m code
|
2020-07-07 21:26:29 +02:00 |
|
ndeadly
|
e995022ecc
|
btdrv-mitm: remove hiddbg service init/cleanup
|
2020-07-07 21:22:18 +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
|
4c97779b2e
|
btdrv-mitm: add handler for set shipping power state subcommand
|
2020-07-04 21:24:03 +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
|
0627de1865
|
btdrv-mitm: create aliases for libnx types inside bluetooth namespace
|
2020-07-01 15:34:07 +02:00 |
|
ndeadly
|
0a83ff3e9f
|
btdrv-mitm: comment out Get/SetReport function mitm
|
2020-07-01 15:33:01 +02:00 |
|
ndeadly
|
dda42962e2
|
btdrv-mitm: make use of auto
|
2020-07-01 15:29:09 +02:00 |
|
ndeadly
|
85aed3aa4a
|
btdrv-mitm: clear unset button state for xbox one controller
|
2020-07-01 15:27:02 +02:00 |
|
ndeadly
|
43f4870f20
|
btdrv-mitm: remove mitm for SetTsi function
|
2020-07-01 15:23:38 +02:00 |
|
ndeadly
|
6177f83489
|
btdrv-mitm: improve handling of analog stick values
|
2020-07-01 15:21:05 +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
|
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
|
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
|
f51a234852
|
btdrv-mitm: remove mitm of GetPairedDeviceInfo for now
|
2020-06-28 17:32:48 +02:00 |
|
ndeadly
|
1b0c776f72
|
btdrv-mitm: misc hid report changes
|
2020-06-28 17:22:37 +02:00 |
|
ndeadly
|
00c89d21d2
|
btdrv-mitm: comment out virtual controller stuff for now
|
2020-06-28 17:21:07 +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 |
|
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
|
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
|
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 |
|