Skip to content

Using different natural_scroll variable for input and touchpad does not work #2458

Description

@chronicc

@fufexan

Hyprland is not crashing.

Expected Outcome

Since it's possible to configure natural_scoll both in the input global section and the input:touchpad section, I assume that it should be possible that my mouse uses the normal behavior and the touchpad uses the mac behavior.

Problem

However when I configure different values for both keys, the global key wins and configures the behavior for both devices.

Excerpt from my hyprland.conf:

input {
    kb_layout = de
    kb_variant = nodeadkeys
    kb_model = pc105
    kb_options =
    kb_rules =

    float_switch_override_focus = 1
    follow_mouse = 1
    natural_scroll = 0
    sensitivity = 0

    touchpad {
        clickfinger_behavior = 1
        disable_while_typing = 1
        natural_scroll = 1
        tap-to-click = 1
    }
}

...

Version Data

Hyprland

hyprctl version
Hyprland, built from branch  at commit 4afeedbd567ca2114f682f14a6de26d4a8188878  ().
Tag: ?

flags: (if any)
debug

NixOS

nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.3.5, NixOS, 23.05 (Stoat), 23.05.20230605.70f7275`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(chronicc): `""`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions