Skip to content

Instantly share code, notes, and snippets.

@munho
Created June 3, 2020 23:55
Show Gist options
  • Save munho/13c4abdc928e3916c3eff485a366512d to your computer and use it in GitHub Desktop.
Save munho/13c4abdc928e3916c3eff485a366512d to your computer and use it in GitHub Desktop.
Home, End, Page Up, Page Down keys for Logitech K380 (with Logitech Options uninstalled for fn and installed for option)
{
"title": "Home, End, Page Up, Page Down keys for Logitech K380 (with Logitech Options uninstalled)",
"rules": [
{
"description": "Change left arrow + fn to home",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_arrow",
"modifiers":{ "mandatory":["left_option", "left_shift"]}
},
"to": [{"key_code": "home"}]
}
]
},
{
"description": "Change right arrow + fn to end",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers":{ "mandatory":["left_option", "left_shift"]}
},
"to": [{"key_code": "end"}]
}
]
},
{
"description": "Change up arrow + fn to page up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "up_arrow",
"modifiers":{ "mandatory":["left_option"]}
},
"to": [{"key_code": "page_up"}]
}
]
},
{
"description": "Change down arrow + fn to page down",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "down_arrow",
"modifiers":{ "mandatory":["left_option"]}
},
"to": [{"key_code": "page_down"}]
}
]
}
]
}
{
"title": "Home, End, Page Up, Page Down keys for Logitech K380 (with Logitech Options installed)",
"rules": [
{
"description": "Change left arrow + left option to home",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_arrow",
"modifiers":{ "mandatory":["left_option"]}
},
"to": [{"key_code": "home"}]
}
]
},
{
"description": "Change right arrow + left option to end",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers":{ "mandatory":["left_option"]}
},
"to": [{"key_code": "end"}]
}
]
},
{
"description": "Change up arrow + left option to page up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "up_arrow",
"modifiers":{ "mandatory":["left_option"]}
},
"to": [{"key_code": "page_up"}]
}
]
},
{
"description": "Change down arrow + left option to page down",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "down_arrow",
"modifiers":{ "mandatory":["left_option"]}
},
"to": [{"key_code": "page_down"}]
}
]
}
]
}
{
"title": "Home, End, Page Up, Page Down keys for Logitech K380 (with Logitech Options installed)",
"rules": [
{
"description": "Change left arrow + right option to home",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_arrow",
"modifiers":{ "mandatory":["right_option"]}
},
"to": [{"key_code": "home"}]
}
]
},
{
"description": "Change right arrow + right option to end",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers":{ "mandatory":["right_option"]}
},
"to": [{"key_code": "end"}]
}
]
},
{
"description": "Change up arrow + right option to page up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "up_arrow",
"modifiers":{ "mandatory":["right_option"]}
},
"to": [{"key_code": "page_up"}]
}
]
},
{
"description": "Change down arrow + right option to page down",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "down_arrow",
"modifiers":{ "mandatory":["right_option"]}
},
"to": [{"key_code": "page_down"}]
}
]
}
]
}
@carlosmu
Copy link

hi! could you explain the installation process? thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment