mouse_ps2: Fix wheel inversion

This commit is contained in:
RichardG867 2023-08-26 13:31:05 -03:00
parent 8f21db5527
commit 801d5b7232

View file

@ -96,6 +96,7 @@ ps2_report_coordinates(atkbc_dev_t *dev, int main)
kbc_at_dev_queue_add(dev, buff[1], main);
kbc_at_dev_queue_add(dev, buff[2], main);
if (dev->flags & FLAG_INTMODE) {
delta_z = -delta_z;
delta_z &= 0x0f;
if (dev->flags & FLAG_5BTN) {