mirror of
https://github.com/thegeneralist01/config.git
synced 2026-07-21 19:05:19 +02:00
Compare commits
2 commits
80166149a7
...
7bf3bd5c8a
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bf3bd5c8a | |||
| 30cc577558 |
1 changed files with 22 additions and 6 deletions
|
|
@ -79,6 +79,23 @@ let
|
|||
}
|
||||
];
|
||||
|
||||
logitechG213Identifiers = {
|
||||
vendor_id = 1133;
|
||||
product_id = 49974;
|
||||
is_keyboard = true;
|
||||
};
|
||||
|
||||
logitechG213SimpleModifications = [
|
||||
{
|
||||
from.key_code = "left_command";
|
||||
to = [ { key_code = "left_option"; } ];
|
||||
}
|
||||
{
|
||||
from.key_code = "left_option";
|
||||
to = [ { key_code = "left_command"; } ];
|
||||
}
|
||||
];
|
||||
|
||||
complex_modifications = {
|
||||
name = "Complex Modifications";
|
||||
rules = [
|
||||
|
|
@ -87,7 +104,7 @@ let
|
|||
# manipulators = manipulators;
|
||||
# }
|
||||
{
|
||||
description = "Hyperkey";
|
||||
description = "Caps Lock to Hyperkey";
|
||||
manipulators = [
|
||||
{
|
||||
from = {
|
||||
|
|
@ -104,11 +121,6 @@ let
|
|||
];
|
||||
}
|
||||
];
|
||||
to_if_alone = [
|
||||
{
|
||||
key_code = "escape";
|
||||
}
|
||||
];
|
||||
type = "basic";
|
||||
}
|
||||
];
|
||||
|
|
@ -311,6 +323,10 @@ let
|
|||
inherit complex_modifications;
|
||||
|
||||
devices = [
|
||||
{
|
||||
identifiers = logitechG213Identifiers;
|
||||
simple_modifications = logitechG213SimpleModifications;
|
||||
}
|
||||
{
|
||||
identifiers.is_keyboard = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue