Commit graph

183 commits

Author SHA1 Message Date
ndeadly
4e39774525 mc.mitm: whitelist razer raiju ultimate as ps4 controller 2022-12-30 12:59:15 +01:00
ndeadly
de306be6cc mc.mitm: remove OR logic when mapping R/ZR buttons on wii classic/classic pro controllers 2022-12-12 21:44:16 +01:00
ndeadly
a6f8d528da mc.mitm: apply L3/R3 button combo for wii classic controllers when in passthrough mode 2022-12-12 20:58:42 +01:00
ndeadly
015001400a mc.mitm: disable motion controls if retrieving ds4 motion calibration fails instead of returning with failure code 2022-10-24 13:42:48 +02:00
ndeadly
265ba33b62 mc.mitm: invert logic for controller configuration options to be consistent with other boolean settings 2022-10-05 22:15:08 +02:00
ndeadly
1f861f6303 mc.mitm: add support for 8bitdo sn30 pro xbox cloud gaming controller running firmware 2.00 2022-10-05 18:39:35 +02:00
ndeadly
fc7a4dcc2d Update npdm json 2022-09-20 22:51:27 +02:00
ndeadly
aea4686c0d mc.mitm: clean up hid command handlers 2022-09-15 00:51:55 +02:00
ndeadly
d9487b5e9f mc.mitm: add handler for nfc/ir requests 2022-09-15 00:27:34 +02:00
ndeadly
5bef87387a mc.mitm: simplify switch hid report definitions 2022-09-15 00:27:34 +02:00
ndeadly
f46597566b mc.mitm: rename hid command handling code to match official names listed on switchbrew wiki 2022-09-15 00:27:34 +02:00
ndeadly
3a3026a777 mc.mitm: take nfc report modes into account 2022-09-15 00:27:34 +02:00
ndeadly
8779146a54 mc.mitm: invert logic used by dualsense controller for setting vibration intensity to make it less confusing for the end user 2022-09-15 00:00:30 +02:00
ndeadly
6358ef7422 mc.mitm: prefer strtol to atoi 2022-09-14 23:24:03 +02:00
ndeadly
abd05ef5f5 mc.mitm: make dualsense vibration strength user configurable 2022-09-14 21:28:48 +02:00
ndeadly
c5093b292c mc.mitm: allow wiimote buttons one/two to act as L3/R3 when wii classic controller extension connected 2022-09-08 14:16:05 +02:00
ndeadly
6be4ebb7ad mc.mitm: add locks to control access to controller io buffers 2022-09-07 23:27:06 +02:00
ndeadly
dca863fb51 mc.mitm: add support for wii balance board 2022-08-17 22:06:26 +02:00
ndeadly
c55145edfa mc.mitm: adjust btdrv mitm server max sessions to match official software 2022-08-12 01:08:10 +02:00
ndeadly
92db9f6b74 mc.mitm: split configuration option to disable sony lightbar leds into separate options for dualshock4 and dualsense controllers 2022-07-25 21:15:16 +02:00
ndeadly
9469d09ef6 mc.mitm: retrieve dualsense version info and set player leds accordingly for updated controller firmwares 2022-07-21 10:48:17 +02:00
ndeadly
0ab935380c mc.mitm: tidy up output report initialisation for sony controllers 2022-07-20 11:51:26 +02:00
ndeadly
777df71955 mc.mitm: disable fade-in for dualsense player indicator leds 2022-07-20 10:25:40 +02:00
ndeadly
da73c8bea9 mc.mitm: lower the relative intensity of dualsense rumble motors 2022-07-19 19:41:37 +02:00
ndeadly
24b6c8124b mc.mitm: set dualsense player leds to minimum brightness 2022-07-19 19:00:31 +02:00
ndeadly
10a60690e9 mc.mitm: add config option to disable dualsense player indicator leds 2022-07-19 18:47:56 +02:00
ndeadly
d38ca828dd mc.mitm: shift the battery level mapping for sony controllers to avoid reporting critical battery levels too early 2022-06-20 21:44:42 +02:00
ndeadly
4f5cb51c1e mc.mitm: reverse bluetooth address using temporary var of correct size to keep compiler happy 2022-05-30 22:36:00 +02:00
ndeadly
6268edb113 mc.mitm: query wii extension controller status regardless of controller type 2022-05-17 20:12:03 +02:00
ndeadly
2e2e7c7552 mc.mitm: flush file after initialising with 0xff 2022-05-03 21:06:26 +02:00
ndeadly
a085eea269 mc.mitm: move and rename bdcmp function 2022-04-27 18:48:46 +10:00
ndeadly
8439391295 mc.mitm: misc. code cleanup 2022-04-26 21:47:35 +10:00
ndeadly
cd98887c1f mc.mitm: remove unnecessary casts 2022-04-22 11:45:05 +10:00
ndeadly
834224ab68 mc.mitm: set timer value correctly for fake subcommand responses 2022-04-17 17:08:38 +10:00
ndeadly
37589b027b mc.mitm: move virtual spi flash operations into separate class 2022-04-17 17:08:38 +10:00
ndeadly
4f6a142a93 mc.mitm: remove all void arguments 2022-04-17 17:08:38 +10:00
ndeadly
44e85a60e0 Implement mc service
(cherry picked from commit 5c67198728e6f946512d0b637f39d31f63bdc28a)
2022-04-17 17:08:38 +10:00
Banz99
5a27ad85c1
Do not intialize and activate MotionPlus if motion controls are disabled. (#447) 2022-04-15 18:33:27 +10:00
ndeadly
32c7b95065 Update copyright headers 2022-04-06 00:17:00 +10:00
ndeadly
226f6927e7 mc.mitm: improve reliability of detecting extension controller status when motion plus in use 2022-04-06 00:07:22 +10:00
ndeadly
b02328bc27 mc.mitm: increase async message queue size 2022-04-06 00:07:22 +10:00
Sean Maas
503abcda4e mc.mitm: port motion support to dualsense
(cherry picked from commit 5990a750d632818a29ddd619b15908a677db763e)
2022-04-06 00:07:22 +10:00
ndeadly
7db06080e4 mc.mitm: fix typo 2022-04-06 00:07:22 +10:00
ndeadly
043aaed29a mc.mitm: post-rebase fixup 2022-04-06 00:07:22 +10:00
ndeadly
b805715e73 mc.mitm: move common virtual spi flash motion calibration initialisation into EmulatedSwitchController 2022-04-06 00:07:22 +10:00
ndeadly
e6e42d44c3 mc.mitm: apply correct motion calibration for dualshock4 2022-04-06 00:07:22 +10:00
ndeadly
22fdf369f5 mc.mitm: fix incorrect dynamic array allocation 2022-04-06 00:07:22 +10:00
ndeadly
ba41708770 mc.mitm: manually calibrate wii motion controls 2022-04-06 00:07:22 +10:00
ndeadly
86e8f3972a mc.mitm: refactor controller classes and add initial motion controls support for dualshock4 and wii motionplus 2022-04-06 00:07:18 +10:00
ndeadly
1bb3594e24 mc.mitm: add basic functionality to run async code in a worker thread and receive a response 2022-04-05 23:56:23 +10:00