new mouse
This commit is contained in:
parent
06117eee83
commit
5c1df5b423
3 changed files with 41 additions and 0 deletions
|
@ -2,5 +2,6 @@
|
|||
{
|
||||
imports = [
|
||||
./graphics.nix
|
||||
./input.nix
|
||||
];
|
||||
}
|
||||
|
|
37
hosts/monosodium-glutamate-g/modules/input.nix
Normal file
37
hosts/monosodium-glutamate-g/modules/input.nix
Normal 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"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
|
@ -72,6 +72,9 @@
|
|||
"Mod+Ctrl+L".action.move-column-right = [ ];
|
||||
"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+Shift+V".action.switch-focus-between-floating-and-tiling = [ ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue