aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.c
diff options
context:
space:
mode:
authoralexis-puska2016-05-12 01:45:26 +0200
committercbransden2016-05-13 18:29:58 +0100
commit29f3675b9b2f24b8a16db73588b8b04d628eabd8 (patch)
tree026cbda2436e123ae3fabb6285e84ee3e753cc70 /frontend/plugin_lib.c
parentace14ab3172ad90809a3cc5e8fe67d5cac9e294b (diff)
downloadpcsx_rearmed-29f3675b9b2f24b8a16db73588b8b04d628eabd8.tar.gz
pcsx_rearmed-29f3675b9b2f24b8a16db73588b8b04d628eabd8.tar.bz2
pcsx_rearmed-29f3675b9b2f24b8a16db73588b8b04d628eabd8.zip
second implementation of multitap
add game/core option to enabled or disabled multitap. Test with micro machine V3 and 5 devices, 2 multitap enabled, all device react good i can’t test the 6 7 8 select player but i can select 8 gamer. The 2 multitap works fine. i detect a bug, when we change the game pad type to analog, the library crash, see it next time
Diffstat (limited to 'frontend/plugin_lib.c')
-rw-r--r--frontend/plugin_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index ff3518e..ad2f49b 100644
--- a/frontend/plugin_lib.c
+++ b/frontend/plugin_lib.c
@@ -37,6 +37,8 @@
#define HUD_HEIGHT 10
int in_type[8];
+int multitap1;
+int multitap2;
int in_analog_left[8][2] = {{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 }};
int in_analog_right[8][2] = {{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 },{ 127, 127 }};
int in_adev[2] = { -1, -1 }, in_adev_axis[2][2] = {{ 0, 1 }, { 0, 1 }};