From 8db9a279700155b85deaebd1b5a4b27d50e43b14 Mon Sep 17 00:00:00 2001 From: FlatOutPS2 Date: Mon, 14 Nov 2016 13:55:55 +0100 Subject: [PATCH] fix2 --- plugins/LilyPad/LilyPad.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/LilyPad/LilyPad.cpp b/plugins/LilyPad/LilyPad.cpp index cf9baf70d7..b182b3481e 100644 --- a/plugins/LilyPad/LilyPad.cpp +++ b/plugins/LilyPad/LilyPad.cpp @@ -1230,10 +1230,10 @@ u8 CALLBACK PADpoll(u8 value) if (config.padConfigs[query.port][query.slot].type == MousePad) { u8 b1 = 0xFC; - if (sum->buttons[5 + 4] > 0) // Left button - b1 -= 2 << 2; - if (sum->buttons[6 + 4] > 0) // Right button - b1 -= 2 << 1; + if (sum->buttons[9] > 0) // Left button + b1 -= 8; + if (sum->buttons[10] > 0) // Right button + b1 -= 4; query.response[3] = 0xFF; query.response[4] = b1;