summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-07-27 03:02:45 +0300
committerMaxim Devaev <[email protected]>2024-07-27 03:02:45 +0300
commit5697ae33ebcfa548d880ddc778a48ef2407b838e (patch)
treec0fecfafe711b94db11ad1c304d2ba3280419504
parent8a46fe5038fcd2c9e04e0d18fb554257e29ba392 (diff)
parentf644a70dd7129f2ac5f2e7cc15b06fb574fb2f7c (diff)
Merge branch 'ps2-ng'
-rw-r--r--hid/pico/Makefile2
-rw-r--r--hid/pico/src/ph_ps2.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/hid/pico/Makefile b/hid/pico/Makefile
index 42002cb0..c2739fd6 100644
--- a/hid/pico/Makefile
+++ b/hid/pico/Makefile
@@ -31,7 +31,7 @@ endef
.tinyusb:
$(call libdep,tinyusb,hathach/tinyusb,d713571cd44f05d2fc72efc09c670787b74106e0)
.ps2x2pico:
- $(call libdep,ps2x2pico,No0ne/ps2x2pico,27c9bcede3370f0d4fdefea9c86a0eeb6170cf77)
+ $(call libdep,ps2x2pico,No0ne/ps2x2pico,4c39fcf97738d1a0ba6bf93843f3f45f7cdf01d7)
deps: .pico-sdk .tinyusb .ps2x2pico
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);
}
}