[Midnightbsd-cvs] [MidnightBSD/src] 1c4db5: If the USB frame length is set to 1024 bytes, WMT_...

Lucas Holt noreply at github.com
Sun Nov 15 02:30:30 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 1c4db596c3f59ae165e536376b5cbad28ffef15a
      https://github.com/MidnightBSD/src/commit/1c4db596c3f59ae165e536376b5cbad28ffef15a
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M sys/dev/usb/input/wmt.c

  Log Message:
  -----------
  If the USB frame length is set to 1024 bytes, WMT_BSIZE, the EETI controller
will pack multiple touch events in the packet and the current code will only
process the first touch event.

As a result some important events are lost like releasing the finger from the
touchscreen.

Use the maximal input report size as buffer size instead.




More information about the Midnightbsd-cvs mailing list