Commit graph

51 commits

Author SHA1 Message Date
ndeadly
97b80c7686 bluetooth-mitm: whitelist another vid/pid for mocute 050 controller 2021-06-09 23:52:39 +02:00
ndeadly
9e476ea9fd bluetooth-mitm: add support for lanshen x1pro controller 2021-06-09 23:52:29 +02:00
ndeadly
f5a1ef2ff3 bluetooth-mitm: add support for samsung variant of madcatz c.t.r.l.r 2021-06-09 23:26:33 +02:00
ndeadly
e32438c9a1 Adapt code for libnx 12.x.x support 2021-06-09 22:17:58 +02:00
ndeadly
c92cb857b5 mc.mitm: remove usage of sm::DoWithSession 2021-04-30 23:05:01 +02:00
ndeadly
4ea12aebd5 Add preliminary support for 12.0.0 2021-04-15 00:10:22 +02:00
ndeadly
a3310e0d43 mc.mitm: unfuck the mess created by conflicting bluetooth type definitions in libnx master 2021-03-25 23:37:20 +01:00
ndeadly
a492bc77af bluetooth-mitm: add support for icade controller 2021-03-16 02:27:04 +01:00
ndeadly
b92d4b588b bluetooth-mitm: update amplitude lookup table and clean up rumble code 2021-03-16 00:09:21 +01:00
ndeadly
14146e3d30 bluetooth-mitm: enable/disable controller rumble based on global settings defined in ini file 2021-03-14 18:22:16 +01:00
Sean Maas
c227688485 bluetooth-mitm: add DualSense rumble 2021-03-14 18:21:31 +01:00
ndeadly
6fc0036129 bluetooth-mitm: fix setting of wii controller player leds 2021-03-14 18:21:30 +01:00
ndeadly
210dc5079f bluetooth-mitm: playing around with rumble values 2021-03-14 18:21:30 +01:00
ndeadly
1160f7d0e0 bluetooth-mitm: use improved lookup table based on yuzu amplitude scaling function, only use left motor settings 2021-03-14 18:21:30 +01:00
ndeadly
d9f19ecffd bluetooth-mitm: use average of left and right LRA amplitudes 2021-03-14 18:21:29 +01:00
ndeadly
bb7fc4e793 bluetooth-mitm: fix copy/paste error 2021-03-14 18:21:29 +01:00
ndeadly
f9c4c5cd71 bluetooth-mitm: add rumble frequency decoding via lookup table 2021-03-14 18:21:29 +01:00
ndeadly
2a2b1be311 bluetooth-mitm: decode real rumble amplitudes via lookup table 2021-03-14 18:21:24 +01:00
ndeadly
61482f328a add change that got lost during rebase 2021-03-14 18:19:21 +01:00
ndeadly
1aeddc5574 bluetooth-mitm: make vibration reports work for xbox one controller 2021-03-14 18:19:21 +01:00
ndeadly
42f82561ab bluetooth-mitm: add CancelVibration method 2021-03-14 18:19:21 +01:00
ndeadly
d40a6ccc97 bluetooth-mim: add (not working) crude rumble support for xbox one controllers 2021-03-14 18:19:21 +01:00
ndeadly
ec37a557c6 bluetooth-mitm: add crude wii controller rumble 2021-03-14 18:19:20 +01:00
ndeadly
d9550e2292 bluetooth-mitm: add crude dualshock4 rumble 2021-03-14 18:19:20 +01:00
ndeadly
1f2d0dc6ba bluetooth-mitm: add struct definitions and methods to begin implementing rumble support 2021-03-14 18:19:20 +01:00
ndeadly
0ad7fd4d21 bluetooth-mitm: add support for steelseries stratus duo controller 2021-03-05 01:43:13 +01:00
ndeadly
fcc1bb3a05 bluetooth-mitm: improve readability of fake subcommand responses 2021-02-27 01:48:13 +01:00
ndeadly
a1f2cd413f bluetooth-mitm: move ApplyButtonCombos method into SwitchController class so we can also apply button combos to official controllers 2021-02-26 01:08:15 +01:00
ndeadly
e30818666a bluetooth-mitm: move staging report buffers into SwitchController class and make use of them 2021-02-26 00:57:05 +01:00
ndeadly
1bd2c238d0 bluetooth-mitm: move initialisation of waitable holders into bluetooth event handling thread function 2021-02-23 01:41:49 +01:00
ndeadly
86b3e3170b bluetooth-mitm: revert removal of program_id argument for bluetooth core GetEventInfo function 2021-02-21 20:43:39 +01:00
ndeadly
acc420a780 bluetooth-mitm: remove unnecessary mitm of Finalize functions 2021-02-21 20:11:11 +01:00
ndeadly
04a4d1fcd8 bluetooth-mitm: remove unnecessary Initialize/Finalize functions 2021-02-21 19:35:19 +01:00
ndeadly
ff9d6fe44b bluetooth-mitm: change buffer parameter type of GetEventInfo functions to void * for consistency 2021-02-21 17:36:24 +01:00
ndeadly
18c8ecfc98 bluetooth-mitm: use *EventInfo data types instead of raw buffers 2021-02-21 14:43:21 +01:00
ndeadly
11f6adf78a bluetooth-mitm: remove passing program id to GetEventInfo functions 2021-02-21 14:01:13 +01:00
ndeadly
bbcf59bde1 bluetooth-mitm: clean up pin reply code a little 2021-02-21 13:59:16 +01:00
ndeadly
de8a69c211 mc.mitm: move LaunchModules and WaitModules functions out of main.cpp 2021-02-21 12:51:00 +01:00
ndeadly
16c0d0abbf bluetooth-mitm: use event classes instead of os::event api 2021-02-21 02:42:06 +01:00
ndeadly
79e65d4b41 bluetooth-mitm: use events instead of flags to track the initialisation status of bluetooth interfaces 2021-02-21 00:44:45 +01:00
ndeadly
d5ddeaac36 mc.mitm: add support for loading global module config ini at startup and overriding bluetooth adapter name and address 2021-02-21 00:44:45 +01:00
ndeadly
d664c074fd bluetooth-mitm: improve module initialisation 2021-02-21 00:44:45 +01:00
ndeadly
9d371ceff1 Embed build version string in compiled sysmodule 2021-02-19 01:53:09 +01:00
ndeadly
f842d6b7f3 bluetooth-mitm: remove editing of tsi ext event status code 2021-02-09 22:34:24 +01:00
ndeadly
7cf761ae9b bluetooth-mitm: signal fake response to SetTsi function when called on an unofficial controller 2021-02-09 22:18:43 +01:00
ndeadly
2a76c0b2d7 bluetooth-mitm: add method for checking whether a controller handler is for an officially supported switch controller 2021-02-09 22:16:20 +01:00
ndeadly
2254589865 bluetooth-mitm: add function to signal a fake hid event 2021-02-09 21:53:32 +01:00
ndeadly
bb9ab12889 bluetooth-mitm: mitm the btdrv SetTsi function 2021-02-09 21:52:43 +01:00
ndeadly
5ac15a48a2 bluetooth-mitm: add support for 8bitdo sn30 pro (xbox cloud gaming edition), support both report formats for 8bitdo zero 2021-02-07 18:22:34 +01:00
ndeadly
15ce645bd9 mc.mitm: remove return value on LaunchModules function 2021-02-04 02:57:15 +01:00