From 373384b69c2ff3048182e20b8a5b1093d8c53281 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Wed, 28 Sep 2022 22:57:10 -0400 Subject: [PATCH] Show device index, not player assignment Use this to determine which device index corresponds to which controller, with controller_info=10 in mister.ini. controller_info will be disabled (set to 0) in the final configuration, so we can leave this debugging hack in. --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index 16ab5ef..ed66f11 100644 --- a/input.cpp +++ b/input.cpp @@ -2418,7 +2418,7 @@ static void input_cb(struct input_event *ev, struct input_absinfo *absinfo, int } else { - map_joystick_show(input[dev].map, input[dev].mmap, input[dev].num); + map_joystick_show(input[dev].map, input[dev].mmap, dev); } } } -- 2.45.2