Hide Forgot
Confirmed but only an issue when xorg-x11-drv-vmmouse is used. evdev behaves as expected.
Ok, this is intended behaviour. We have two types of pointer devices in X: relative and absolute devices. Relative devices like mice are rotated with the screen output and thus automatically adjust. That's why evdev works as expected within vmware. Absolute pointer devices are not rotated by default. The reason for this decision was that a significant number of touchscreens are mounted wrongly and need extra calibration. And in the multi-monitor case (quite frequent nowadays with touch-capable laptops) the driver does not even know which screen area input is mapped to, let alone rotation. This is the policy in the server, now let's look at vmmouse. It communicates with the VMware Player and initializes the device as an absolute device. $> xinput list "ImPS/2 Generic Wheel Mouse" ImPS/2 Generic Wheel Mouse id=6 [slave pointer (2)] Reporting 3 classes: Class originated from: 6. Type: XIButtonClass Buttons supported: 5 Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" Button state: Class originated from: 6. Type: XIValuatorClass Detail for Valuator 0: Label: Abs X Range: 0.000000 - 65535.000000 Resolution: 10000 units/m Mode: absolute Current value: 57368.000000 Class originated from: 6. Type: XIValuatorClass Detail for Valuator 1: Label: Abs Y Range: 0.000000 - 65535.000000 Resolution: 10000 units/m Mode: absolute Current value: 42196.000000 Pointer updates are sent as absolute coordinates, the device thus looks like a touchscreen to X. And thus it's not rotated automatically. Rotation can be achieved by adjusting the transformation matrix to the respective values. For example, if the screen is rotated "left", this command adjusts the matrix accordingly: xinput set-prop "ImPS/2 Generic Wheel Mouse" "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 There is a long beginner-friendly writeup of the matrix here: https://wiki.ubuntu.com/X/InputCoordinateTransformation Note there is another device called VMware VMware Virtual USB Mouse that is only used when vmmouse doesn't initialize. That's the device evdev uses but it is mute whenever vmmouse is active. Anyway, devel_nak because this is server policy and applies to any absolute device such as touchscreens.
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.