Commit graph

230 commits

Author SHA1 Message Date
ndeadly
0ffdda4d4d mc.mitm: replace analog stick handling with templated code 2024-03-31 10:18:04 +02:00
ndeadly
6ff44b5e9c Update copyright headers 2024-01-26 10:23:42 +01:00
ndeadly
377c7b7caa mc.mitm: assign constants for maximum trigger values 2023-11-16 17:41:33 +01:00
ndeadly
d89e0ab1a7 mc.mitm: mark globals as constinit, constants as constexpr and use camel case for constant variable names 2023-11-16 17:19:28 +01:00
ndeadly
b7399ca003 mc.mitm: double size of build string data type 2023-11-04 17:20:39 +01:00
ndeadly
958616c953 mc.mitm: fix swapped left and right analog trigger values for 8bitdo sn30 pro xbox cloud gaming edition controller 2023-11-02 09:17:01 +01:00
ndeadly
91eb7b2124 mc.mitm: add support for scuf vantage 2 2023-10-30 09:53:43 +01:00
ndeadly
de07f42f50 mc.mitm: reset capture button state when dualshock 4 touchpad not pressed 2023-10-13 10:00:11 +02:00
ndeadly
b7305638cd mc.mitm: remove arbitrary gyro scaling factor for sony controllers 2023-10-06 21:11:41 +02:00
ndeadly
bc7b23b1cd mc.mitm: add support for atari vcs modern wireless controller 2023-09-19 10:52:46 +02:00
ndeadly
140ebe2ecb mc.mitm: map 8bitdo zero dpad to left analog stick to improve game compatibility 2023-08-30 12:14:45 +02:00
ndeadly
913c89baf6 mc.mitm: check vendor/product id when identifying official switch controllers before falling back to checking the name 2023-08-24 10:18:37 +02:00
ndeadly
9306dbe0d3 mc.mitm: use exact joycon name strings 2023-08-24 09:49:55 +02:00
ndeadly
5afa7c89b4 mc.mitm: consider player leds in flashing state when determining player number from led mask 2023-08-19 18:35:09 +02:00
ndeadly
99f08edeae mc.mitm: add timer event to main thread to poll for changes to the currently running program id 2023-07-27 00:31:42 +02:00
ndeadly
2bd061ea78 mc.mitm: clean up module initialisation 2023-07-26 21:55:28 +02:00
ndeadly
1409d462ea mc.mitm: move mc service out of mitm namespace 2023-07-26 21:24:47 +02:00
ndeadly
cfa9041422 mc.mitm: map L3/R3 for betop 2585N2 controller 2023-07-18 23:40:50 +02:00
ndeadly
eed9031fc6 mc.mitm: add power management event handler to main thread 2023-07-01 16:32:55 +02:00
ndeadly
f4dd7552d8 mc.mitm: allocate temporary initialisation thread stack on the heap to save memory 2023-06-30 23:59:07 +02:00
ndeadly
2612b8867a mc.mitm: add new licensed nintendo controller name introduced in 15.0.0 2023-06-19 11:22:03 +02:00
ndeadly
bfb1e6cb78 mc.mitm: fix queue logic for async responses 2023-06-06 21:37:57 +02:00
ndeadly
6c1c8306ef mc.mitm: add support for 8bitdo ultimate 2.4g wireless controller 2023-05-18 18:59:27 +02:00
ndeadly
d83763d38b mc.mitm: add support for betop 2585n2 controller 2023-05-18 18:57:31 +02:00
ndeadly
5e7b06915e mc.mitm: add setting for analog trigger activation threshold 2023-05-17 12:05:25 +02:00
ndeadly
669e4bc3e9 mc.mitm: change mapping of touchpad edges for sony controllers to avoid accidental activations of the capture button 2023-05-17 12:02:34 +02:00
ndeadly
d3a01b6348 mc.mitm: map dualsense mute button as capture 2023-05-14 23:09:54 +02:00
ndeadly
939c2e868d mc.mitm: implement additional dualshock3 led pattern mode 2023-05-10 22:20:36 +02:00
ndeadly
badbbbd61e mc.mitm: add support for steelseries stratus xl controller 2023-05-08 22:51:20 +02:00
ndeadly
fe31665695 mc.mitm: also remove controller pairing from btm device info list 2023-04-26 00:08:41 +02:00
ndeadly
735ca4bc07 mc.mitm: fix crash when attempting to pair dualshock 3 controllers when pairing database is full 2023-04-24 22:28:24 +02:00
ndeadly
7c7dffdf9a mc.mitm: modify usb event filter so as not to clash with the default hid filter 2023-04-23 16:12:57 +02:00
ndeadly
e6678ef8bf mc.mitm: add support for mocute 053 controller 2023-04-18 20:18:52 +02:00
ndeadly
2a6d6da950 mc.mitm: add dualshock3 accelerometer support 2023-04-18 20:12:02 +02:00
ndeadly
48eed6cf6a mc.mitm: make use of R_TRY macro 2023-04-18 18:44:50 +02:00
ndeadly
e22959174e mc.mitm: add support for dualshock3 controller 2023-04-11 15:59:18 +02:00
ndeadly
07b6334094 mc.mitm: use PACKED macro 2023-03-14 22:14:53 +01:00
ndeadly
a2996a51b5 mc.mitm: add config option to set the polling rate for dualshock 4 controllers 2023-03-07 12:22:30 +01:00
ndeadly
1bc46ef35b mc.mitm: rename enable_dualsense_player_leds -> dualsense_enable_player_leds to be consistent with other settings names 2023-03-07 11:56:32 +01:00
ndeadly
193df29205 mc.mitm: replace lightbar enable config option with brightness setting for sony controllers 2023-03-07 11:53:10 +01:00
ndeadly
55c35d2c9a mc.mitm: map wiimote dpad to left analog stick when in horizontal orientation 2023-03-06 21:05:08 +01:00
ndeadly
115898730d mc.mitm: don't map core wiimote buttons when Wii U Pro controller is connected 2023-03-06 21:03:20 +01:00
ndeadly
43fcc32378 mc.mitm: use 12-bit stick data constants instead of numeric values 2023-03-06 19:16:50 +01:00
ndeadly
4a0326308d Add support for firmware 16.0.0 2023-02-23 21:57:56 +01:00
ndeadly
fd3e332905 mc.mitm: remove mitm of SetTsi command in favour of patching the btm module not to disconnect controllers that don't support it 2023-02-23 17:25:24 +01:00
ndeadly
5287296cb3 mc.mitm: misc. code cleanup and style improvements 2023-02-22 22:25:51 +01:00
ndeadly
e68f6035c4 Merge branch 'master' into develop 2023-02-17 19:23:02 +01:00
SK360
16a216ebb2
Added support for Arcade Control Panel for AtGames Legends Pinball Controller (#559)
* Added support for Atgames arcade control panel

* Fixed missing brace

* Swap L & R mapping

After further gameplay, swapped L & R mappings.

* Moved m_arcadepanel init to constructor

---------

Co-authored-by: Matt Simmons <matt.simmons@fedex.com>
2023-02-17 19:21:41 +01:00
ndeadly
7af1f14abf mc.mitm: add support for mad catz L.Y.N.X 3 controller 2023-02-17 19:06:13 +01:00
ndeadly
d5aa066fea mc.mitm: temporarily disable handling nfc data until the protocol is emulated correctly 2023-02-17 19:04:50 +01:00