From f3943713b53452d545fb58c9dee0c00dd0c2b6d7 Mon Sep 17 00:00:00 2001 From: SindenLightgun <47393540+SindenLightgun@users.noreply.github.com> Date: Sun, 15 Sep 2019 00:01:43 +0100 Subject: [PATCH] Adding Guncon support for mouse based lightguns --- plugins/dfinput/main.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/dfinput/main.c b/plugins/dfinput/main.c index 4204b86f..af6b80b8 100644 --- a/plugins/dfinput/main.c +++ b/plugins/dfinput/main.c @@ -1,5 +1,5 @@ /* - * (C) Gražvydas "notaz" Ignotas, 2011 + * (C) Gražvydas "notaz" Ignotas, 2011 * * This work is licensed under the terms of any of these licenses * (at your option): @@ -40,10 +40,11 @@ static int old_controller_type1 = -1, old_controller_type2 = -1; pad_init(); \ break; \ case PSE_PAD_TYPE_GUNCON: \ - PAD##n##_startPoll = PADstartPoll_guncon; \ - PAD##n##_poll = PADpoll_guncon; \ - guncon_init(); \ - break; \ + //Removed for new Guncon functionality, may have been required for very old touchscreen support + //PAD##n##_startPoll = PADstartPoll_guncon; \ + //PAD##n##_poll = PADpoll_guncon; \ + //guncon_init(); \ + //break; \ case PSE_PAD_TYPE_NEGCON: \ case PSE_PAD_TYPE_GUN: \ default: \ -- 2.39.2