new mouse

This commit is contained in:
Schrottkatze 2025-06-27 00:22:02 +02:00
parent 06117eee83
commit 5c1df5b423
Signed by: schrottkatze
SSH key fingerprint: SHA256:/raZeWZ2RLThYkX/nq26frnmA4Bi3qRM/hijRmDBa10
3 changed files with 41 additions and 0 deletions

View file

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./graphics.nix ./graphics.nix
./input.nix
]; ];
} }

View file

@ -0,0 +1,37 @@
{ ... }:
{
jade.input.remapping = {
enable = true;
devices."SOAI USB Gaming Mouse Keyboard".remap = [
{
input = [ "KEY_A" ];
output = [
"KEY_LEFTMETA"
"KEY_H"
];
}
{
input = [ "KEY_D" ];
output = [
"KEY_LEFTMETA"
"KEY_L"
];
}
{
input = [ "KEY_W" ];
output = [
"KEY_LEFTMETA"
"KEY_G"
];
}
{
input = [ "KEY_S" ];
output = [
"KEY_LEFTMETA"
"KEY_LEFTCTRL"
"KEY_G"
];
}
];
};
}

View file

@ -72,6 +72,9 @@
"Mod+Ctrl+L".action.move-column-right = [ ]; "Mod+Ctrl+L".action.move-column-right = [ ];
"Mod+R".action.switch-preset-column-width = [ ]; "Mod+R".action.switch-preset-column-width = [ ];
"Mod+G".action.open-overview = [ ];
"Mod+Ctrl+G".action.close-overview = [ ];
"Mod+V".action.toggle-window-floating = [ ]; "Mod+V".action.toggle-window-floating = [ ];
"Mod+Shift+V".action.switch-focus-between-floating-and-tiling = [ ]; "Mod+Shift+V".action.switch-focus-between-floating-and-tiling = [ ];