summaryrefslogtreecommitdiff
path: root/hid/pico/src/ph_ps2.c
diff options
context:
space:
mode:
authorNo0ne <[email protected]>2024-07-27 02:00:39 +0200
committerGitHub <[email protected]>2024-07-27 03:00:39 +0300
commitf644a70dd7129f2ac5f2e7cc15b06fb574fb2f7c (patch)
tree9c97f8842786ec611dc825f0681d32ce676472c6 /hid/pico/src/ph_ps2.c
parent8ef1545729298159769e5804feb50ededc5487ea (diff)
fix compile warnings (#175)ps2-ng
Diffstat (limited to 'hid/pico/src/ph_ps2.c')
-rw-r--r--hid/pico/src/ph_ps2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hid/pico/src/ph_ps2.c b/hid/pico/src/ph_ps2.c
index c4499f13..9eeb7902 100644
--- a/hid/pico/src/ph_ps2.c
+++ b/hid/pico/src/ph_ps2.c
@@ -119,6 +119,7 @@ void ph_ps2_mouse_send_rel(s8 x, s8 y) {
void ph_ps2_mouse_send_wheel(s8 h, s8 v) {
if (PH_O_IS_MOUSE_PS2) {
+ (void)h; // as far as I know there is no standard way for horizontal scrolling
ms_send_movement(ph_ps2_mouse_buttons, 0, 0, v);
}
}