Skip to content

Instantly share code, notes, and snippets.

@weblogix
Last active May 2, 2021 14:46
Show Gist options
  • Select an option

  • Save weblogix/049e558646b4e2ab5726ba94d9c7babb to your computer and use it in GitHub Desktop.

Select an option

Save weblogix/049e558646b4e2ab5726ba94d9c7babb to your computer and use it in GitHub Desktop.

Revisions

  1. weblogix revised this gist Dec 21, 2019. No changes.
  2. weblogix renamed this gist Dec 20, 2019. 1 changed file with 7 additions and 5 deletions.
    12 changes: 7 additions & 5 deletions mac.json → drevo-caliber.json
    Original file line number Diff line number Diff line change
    @@ -2,17 +2,19 @@
    "title": "DREVO Calibur 71-key Keyboard",
    "rules": [
    {
    "description": "Alt-ESC to alt-tilde for window switching",
    "description": "Set ESC to grave_accent_and_tilde",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "escape",
    "modifiers": {
    "optional": [
    "left_gui"
    ]
    }
    "optional": [
    "left_gui",
    "left_shift",
    "right_shift"
    ]
    }
    },
    "to": [
    {
  3. weblogix revised this gist Dec 20, 2019. 1 changed file with 65 additions and 1 deletion.
    66 changes: 65 additions & 1 deletion mac.json
    Original file line number Diff line number Diff line change
    @@ -21,6 +21,70 @@
    ]
    }
    ]
    }
    },
    {
    "description": "Swap command to option keys (left)",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "left_command"
    },
    "to": [
    {
    "key_code": "left_option"
    }
    ]
    }
    ]
    },
    {
    "description": "Swap option to command keys (left)",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "left_option"
    },
    "to": [
    {
    "key_code": "left_command"
    }
    ]
    }
    ]
    },
    {
    "description": "Map Page-up to increase volumne",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "page_up"
    },
    "to": [
    {
    "key_code": "volume_increment"
    }
    ]
    }
    ]
    },
    {
    "description": "Map Page-down to decrease volume",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "page_down"
    },
    "to": [
    {
    "key_code": "volume_decrement"
    }
    ]
    }
    ]
    }
    ]
    }
  4. weblogix renamed this gist Dec 20, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. weblogix created this gist Dec 20, 2019.
    26 changes: 26 additions & 0 deletions mac-friendly.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    {
    "title": "DREVO Calibur 71-key Keyboard",
    "rules": [
    {
    "description": "Alt-ESC to alt-tilde for window switching",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "escape",
    "modifiers": {
    "optional": [
    "left_gui"
    ]
    }
    },
    "to": [
    {
    "key_code": "grave_accent_and_tilde"
    }
    ]
    }
    ]
    }
    ]
    }