hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.95k stars 849 forks source link

Mouse and Keyboard "Num_Lock" & "Caps_Lock " Conflicting #4870

Open Kagukara opened 7 months ago

Kagukara commented 7 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch main at commit 29cdd7de1f8d99462915540569fbe54f10f609f4 dirty (layers: minor fixes for new animations). Date: Wed Feb 28 15:59:45 2024 Tag: v0.36.0-4-g29cdd7de flags: (if any) System Information: System name: Linux Node name: destrarch Release: 6.7.6-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000 GPU information: 0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```

Bug or Regression?

Bug

Description

Custom mouse profile saved onto the mouse, configured via Razer Synapse years ago.

By default "Num_Lock" is off, when turned on via the keyboard it turns on, but if any key is pressed on the mouse (except for lmb, rmb and mmb) "Num_Lock" turns off.

This doesn't happen in sway.

How to reproduce

Requirements:

Steps:

  1. Turn on "Num_Lock" on the keyboard
  2. Press "1" on the keyboard
  3. Now press "1" on the mouse
  4. "Num_Lock" is now off

Crash reports, logs, images, videos

hyprctl_devices.txt

Here is a video showing what happens when "Num_Lock" is "on" on the keyboard but off on the mouse in Guild Wars 2:

https://github.com/hyprwm/Hyprland/assets/43391109/70a7d91f-e362-4cad-9e02-61c2d0d1e499

I could potentially get banned for cheating as it could be seen as a macro

Here a separate video showing the "Num_Lock" on for the keyboard and then turned off on the mouse (may need to turn the volume up):

https://github.com/hyprwm/Hyprland/assets/43391109/4a5bb374-b7cb-4eb3-9179-6ae0612d4eeb

Kagukara commented 5 months ago

When trying to do keybinds like Ctrl+1 for example in vivaldi, I'm unable to use my mouse for 1. input-remapper doesn't help as an alternative to this issue.

hades commented 3 months ago

I have the same issue but with a keyboard and an external numpad. Numlock on the numpad gets turned off when I press any key on the other keyboard.