JeanSchoeller / iio-hyprland

Listen iio-sensor-proxy and auto change Hyprland output orientation
GNU General Public License v3.0
46 stars 19 forks source link

Touch input not rotating on Thinkpad L380 Yoga #17

Closed ForgotMyPasswd closed 7 months ago

ForgotMyPasswd commented 7 months ago

When I rotate my device, the touch input does not adjust to the new rotation and is still treated as if it is in the original position. Output of iio-hyprland:

ok
config option <device:wacom-pen-and-multitouch-sensor-pen:transform> does not exist.
config option <device:wacom-pen-and-multitouch-sensor-finger:transform> does not exist.

Output of hyprctl devices:

mice:
    Mouse at 5790f5138da0:
        elan-touchpad
            default speed: 0.00000
    Mouse at 5790f4f621f0:
        elan-trackpoint
            default speed: 0.00000

Keyboards:
    Keyboard at 5790f5108de0:
        power-button
            rules: r "", m "", l "gb", v "", o ""
            active keymap: English (UK)
            main: no
    Keyboard at 5790f50959b0:
        video-bus
            rules: r "", m "", l "gb", v "", o ""
            active keymap: English (UK)
            main: no
    Keyboard at 5790f5021630:
        sleep-button
            rules: r "", m "", l "gb", v "", o ""
            active keymap: English (UK)
            main: no
    Keyboard at 5790f5256770:
        at-translated-set-2-keyboard
            rules: r "", m "", l "gb", v "", o ""
            active keymap: English (UK)
            main: no
    Keyboard at 5790f52b53d0:
        thinkpad-extra-buttons
            rules: r "", m "", l "gb", v "", o ""
            active keymap: English (UK)
            main: yes
    Keyboard at 5790f5825020:
        wlr_virtual_keyboard_v1
            rules: r "", m "", l "gb", v "", o ""
            active keymap: English (UK)
            main: yes

Tablets:
    Tablet at 5790f4e05eb0:
        wacom-pen-and-multitouch-sensor-pen
            size: 293.76x165.24mm

Touch:
    Touch Device at 5790f4f79df0:
        wacom-pen-and-multitouch-sensor-finger

Switches:
    Switch Device at 5790f508fef0:
        Lid Switch
    Switch Device at 5790f51f2f30:
        ThinkPad Extra Buttons

Output of hyprctl monitors:

Monitor eDP-1 (ID 0):
    1920x1080@59.98400 at 0x0
    description: BOE 0x075F
    make: BOE
    model: 0x075F
    serial: 
    active workspace: 1 (1)
    special workspace: 0 ()
    reserved: 0 0 0 48
    scale: 1.00
    transform: 0
    focused: yes
    dpmsStatus: 1
    vrr: 0
    activelyTearing: false
    disabled: false
    currentFormat: XRGB8888
    availableModes: 1920x1080@59.98Hz
ForgotMyPasswd commented 7 months ago

After applying this PR, my issued was solved.