mirror of
https://github.com/thegeneralist01/config.git
synced 2026-07-22 03:15:27 +02:00
Compare commits
No commits in common. "7bf3bd5c8ad72991d3c3f45585cf0401ad40f041" and "80166149a763c0f9dc68670b3d93063ef812a37d" have entirely different histories.
7bf3bd5c8a
...
80166149a7
1 changed files with 6 additions and 22 deletions
|
|
@ -79,23 +79,6 @@ 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 = {
|
complex_modifications = {
|
||||||
name = "Complex Modifications";
|
name = "Complex Modifications";
|
||||||
rules = [
|
rules = [
|
||||||
|
|
@ -104,7 +87,7 @@ let
|
||||||
# manipulators = manipulators;
|
# manipulators = manipulators;
|
||||||
# }
|
# }
|
||||||
{
|
{
|
||||||
description = "Caps Lock to Hyperkey";
|
description = "Hyperkey";
|
||||||
manipulators = [
|
manipulators = [
|
||||||
{
|
{
|
||||||
from = {
|
from = {
|
||||||
|
|
@ -121,6 +104,11 @@ let
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
to_if_alone = [
|
||||||
|
{
|
||||||
|
key_code = "escape";
|
||||||
|
}
|
||||||
|
];
|
||||||
type = "basic";
|
type = "basic";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
@ -323,10 +311,6 @@ let
|
||||||
inherit complex_modifications;
|
inherit complex_modifications;
|
||||||
|
|
||||||
devices = [
|
devices = [
|
||||||
{
|
|
||||||
identifiers = logitechG213Identifiers;
|
|
||||||
simple_modifications = logitechG213SimpleModifications;
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
identifiers.is_keyboard = true;
|
identifiers.is_keyboard = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue