Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-155481

Setting xinput Coordinate Transformation Matrix can cause mouse issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.14.3
    • None
    • Linux 5.1.7-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 4 15:47:45 UTC 2019 x86_64 GNU/Linux

      openjdk version "1.8.0_212"
      OpenJDK Runtime Environment (build 1.8.0_212-b01)
      OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)
    • Unconfirmed
    • (Unassigned)

      Setting any X mouse device's Coordinate Transformation Matrix to anything other than:
      [ 1 0 0 ]
      [ 0 1 0 ]
      [ 0 0 1 ]
      will result in any movement of the mouse becoming amplified and moving up-left. I tested this by using the same mouse and setting its transformation matrix to [1 0 0 0 1 0 0 0 1], [0.5 0 0 0 0.5 0 0 0 0.5] and [0.25 0 0 0 0.25 0 0 0 0.25]. Only the first test had the expected result of moving the camera normally.

      In 1.14.2 and .1, the mouse moved normally. In 1.14.3 the mouse started this behaviour, possibly due to bugfix MC-144107.

      A workaround I used to change the mouse sensitivity is to set the X mouse device's "libinput Accel Speed" to a number between -1 and 0, according to my desired sensitivity (if using libinput).

            Unassigned Unassigned
            aecsocket a
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: