Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32185

Intellimouse driver overflow check condition.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.4
    • None
    • Arm

    Description

      PATH=src/gui/embedded
      FILE=qmousepc_qws.cpp

      class QWSPcMouseSubHandler_intellimouse : public QWSPcMouseSubHandler {

      int tryData()
      {
      if (nbuf >= packetsize) {

      //int overflow = (buffer[0]>>6)& 0x03;

      if (/overflow ||/ !(buffer[0] & 8))

      { badness++; return 1; }

      }

      Any reason why the variable int overflow is commented out and not used in the if statement check condition?

      I encountered a mouse wheel up overflow issue for intellimouse driver running on an Arm platform. I uncommented the code mentioned above and it resolved my issue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rukawa Chang Chang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes