[C2] Mouse Axis are interchanged in Landscape-Mode

REPRODUCIBILITY: 100% (always)
OSVERSION: 5.0.0.43
HARDWARE: Reeder S19 Max Pro S - s19mps - s19mps - 1.0.0.30 - aarch64
UI LANGUAGE: Deutsch (user: de_DE, os: de_DE.utf8)
REGRESSION: not tested before

DESCRIPTION:

When connecting a wireless Keyboard with Touchpad (Logitech K400r) to Jolla C2 USB-C via its USB-Dongle, the Mouse Axis are only correct on Portrait-Mode, in Landscape-Mode the Axis are interchanged (horizontal = vertical and vertical = horizontal). It doesnt matter if i Plugin the USB-Dongle in Landscape-Mode, same behaviour.

PRECONDITIONS:

Wireless Keyboard with Touchpad (Mouse-Support like Logitech K400r) with USB-Dongle, a USB-C to USB-A-Adapter.

STEPS TO REPRODUCE:

  1. Plugin USB-Donge of Wireless Keyboard with USB-C-Adapter to Jolla C2
  2. Move Mouse in Landscape-Mode
  3. Axis are interchanged.

EXPECTED RESULTS:

Mouse-Axis are the same on Portrait/Landscape-Mode.

ACTUAL RESULTS:

Mouse-Axis are interchanged in Landscape-Mode.

MODIFICATIONS:

  • Patchmanager: yes
  • OpenRepos: yes
  • Chum: yes
  • Other: none specified

ADDITIONAL INFORMATION:

Device Owner User: defaultuser
Home Encryption: enabled

Orientation is set to automatic
Rotating homescreen is enabled

the initial version of this bug report was created using Bugger 0.9.13+git2
2 Likes

Same situation on XA2 5.0.0.62 with a simple USB mouse plugged.
Axes are X/Y inverted.
Excellent to have mouse and keyboard though!

1 Like

So I have been trying this on the Fairphone 5 and same issues here.

Steps I took>

  1. Identified the mouse I was using running via SSH in su mode> ls -l /dev/input/by-id and found the only event8 named usb-413c-3010-event-mouse → ../event8
  2. So i have created a file to test the potential fixes, but none of these worked in the following location> /etc/udev/rules.99/ folder
  3. Created a new file 99-mouse-rotation.rules, added the information to rotate the mouse by 90/180/270/0 degrees (only 1 option can be uncommented at a time).
  4. Then run> udevadm hwdb –update
  5. But none of these worked. However the mouse cursor is correct in both portrait and landscape only the movement is the issue in landscape mode.

Would be keen to know if I am on the right track here to workaround this issue to find a workable solution for all.

I am using the Fairphone 5 and have Sailfish Build 5.0.0.68 installed.

Tested with a USB-C to USB-A adapter or Deltaco USB-C adapter along with a Logitech M185 mouse.

Note: The only alternative out of the box fix for now is to physically rotate the mouse left 90 degress and it kinda works albeit a bit odd.

2 Likes