Skip to content

Instantly share code, notes, and snippets.

@junho85
Last active February 13, 2024 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junho85/e6e381774202bfe0d13973c95a75c6a5 to your computer and use it in GitHub Desktop.
Save junho85/e6e381774202bfe0d13973c95a75c6a5 to your computer and use it in GitHub Desktop.
cmd-x,c,v and move tab
# ./ch57x-keyboard-tool upload < 3key-mapping-cvx.yaml
# ./ch57x-keyboard-tool --address 2:8 upload < 3key-mapping-cvx.yaml
orientation: normal
rows: 1
columns: 3
knobs: 1
layers:
- buttons:
- ["cmd-x", "cmd-c", "cmd-v"]
knobs:
- ccw: 'cmd-shift-leftbracket'
press: 'cmd-'
cw: 'cmd-shift-rightbracket'
@junho85
Copy link
Author

junho85 commented Feb 13, 2024

# ./ch57x-keyboard-tool upload < 3key-mapping-tab.yaml
# ./ch57x-keyboard-tool --address 2:6 upload < 3key-mapping-tab.yaml
orientation: normal

rows: 1
columns: 3
knobs: 1

layers:
  - buttons:
      - [
          "cmd-shift-t",
          "cmd-w",
          "cmd-t"
        ]
    knobs:
      - ccw: 'cmd-shift-grave'
        press: 'cmd-w'
        cw: 'cmd-grave'

@junho85
Copy link
Author

junho85 commented Feb 13, 2024

# ./ch57x-keyboard-tool upload < 3key-mapping-new.yaml
# ./ch57x-keyboard-tool --address 2:6 upload < 3key-mapping-new.yaml
orientation: normal

rows: 1
columns: 3
knobs: 1

layers:
  - buttons:
      - [
          "cmd-shift-leftbracket",
          "cmd-r",
          "cmd-shift-rightbracket"
        ]
    knobs:
      - ccw: "volumedown"
        press: "screenlock"
        cw: "volumeup"

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