From dbb296e0e21e21178bb64b35c4ecc8fee105a4aa Mon Sep 17 00:00:00 2001 From: sorgelig Date: Mon, 5 Jul 2021 00:18:41 +0800 Subject: [PATCH] minimig: fix mouse wheel. --- input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input.cpp b/input.cpp index ad25aca..983f02b 100644 --- a/input.cpp +++ b/input.cpp @@ -2877,7 +2877,7 @@ static struct {KEY_L, 2, 0x12D}, // 2P 8 }; -void send_mouse_with_throttle(int dev, int xval, int yval, int btn, uint8_t data_3) +static void send_mouse_with_throttle(int dev, int xval, int yval, int btn, int8_t data_3) { int i = dev; if (input[dev].bind >= 0) dev = input[dev].bind; @@ -2903,7 +2903,7 @@ void send_mouse_with_throttle(int dev, int xval, int yval, int btn, uint8_t data } static uint32_t touch_rel = 0; -void touchscreen_proc(int dev, input_event *ev) +static void touchscreen_proc(int dev, input_event *ev) { struct input_absinfo absinfo; int i = dev;