fix mouse getting recognized as gamepad
This commit is contained in:
parent
e2a5d71e6e
commit
458f4aeb38
4 changed files with 14 additions and 1 deletions
|
@ -20,5 +20,9 @@
|
|||
obsidian
|
||||
kicad
|
||||
|
||||
piper
|
||||
|
||||
virtualbox
|
||||
|
||||
];
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
touchpad.natural_scroll = "yes";
|
||||
|
||||
sensitivity = -0.8; # -1.0 - 1.0, 0 means no modification.
|
||||
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
|
||||
numlock_by_default = 1;
|
||||
special_fallthrough = true;
|
||||
};
|
||||
|
|
|
@ -11,5 +11,13 @@
|
|||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2102", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Disable mouse as gamepad
|
||||
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1906", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-joystick'"
|
||||
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1908", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-joystick'"
|
||||
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1906", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-event-joystick'"
|
||||
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1908", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-event-joystick'"
|
||||
'';
|
||||
services.ratbagd.enable = true;
|
||||
|
||||
}
|
|
@ -6,4 +6,5 @@
|
|||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [];
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue