Commit graph

591 commits

Author SHA1 Message Date
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
46447a6d0b Update readme 2022-04-08 12:12:34 +10:00
ndeadly
bd1fcc98a4 Update libnx (fixes errors when building libstratosphere) 2022-04-08 11:59:02 +10:00
ndeadly
1dbe1820a3 Update bug report template 2022-04-06 00:27:48 +10:00
ndeadly
ebf1d96002 Update readme 2022-04-06 00:25:38 +10:00
ndeadly
fe22695149 Update bug report and controller request templates 2022-04-06 00:21:39 +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
ndeadly
18c7453530 mc.mitm: return shared_ptr from LocateHandler function instead of raw pointer 2022-04-05 23:56:23 +10:00
ndeadly
c2402888a6 mc.mitm: use shared_ptr for controller list and disconnect controller that fails to initialise instead of aborting 2022-04-05 23:56:23 +10:00
ndeadly
0081027385 mc.mitm: refactor hid report handling functions 2022-04-05 23:56:23 +10:00
ndeadly
863ce5ec83 mc.mitm: clean up thread initialisation code and make consistent 2022-04-05 23:56:23 +10:00
ndeadly
b663d8961a Embed build date in module 2022-04-05 23:56:22 +10:00
ndeadly
213e5f4a9a mc.mitm: handle imu sensitivity settings in subcommands 2022-04-05 23:56:17 +10:00
ndeadly
ac6999cf40 mc.mitm: correct motion control values to use signed integers 2022-04-05 23:52:50 +10:00
ndeadly
b64a83ada5 mc.mitm: correct coordinate systems according to recorded data observations 2022-04-05 23:52:50 +10:00
ndeadly
818a3249e8 Add current state of experimental code 2022-04-05 23:52:46 +10:00
ndeadly
60c17b8d54 mc.mitm: define switch motion calibration data 2022-04-05 23:50:44 +10:00
ndeadly
131c48654a mc.mitm: add definition for dualshock4 feature report 0x05 and calibration data 2022-04-05 23:50:44 +10:00
ndeadly
52b1f7f0a3 mc.mitm: enable and naively map motion controls for dualshock4 and dualsense controllers 2022-04-05 23:50:44 +10:00
ndeadly
374c1781c5 mc.mitm: allow for handling of hid set and get reports 2022-04-05 23:50:44 +10:00
ndeadly
52b478550b mc.mitm: add methods for requesting ds4 version info and calibration data 2022-04-05 23:50:44 +10:00
ndeadly
bb805477f6 слава україні 2022-04-05 23:32:49 +10:00
ndeadly
419c80e8f2 Add missing system_module.mk 2022-04-05 22:56:12 +10:00
ndeadly
34bd9f7796 mc.mitm: SwapBytes -> SwapEndian 2022-04-05 13:50:06 +10:00
ndeadly
cfbc437fed Update libstratosphere 2022-04-05 13:40:13 +10:00
ndeadly
21f9613316 mc.mitm: support for g910 wireless bluetooth controller 2022-03-27 22:40:57 +11:00