Skip to content

Instantly share code, notes, and snippets.

@jfisbein
Last active June 4, 2024 17:57
Show Gist options
  • Save jfisbein/3eb0f598ed6894b86dd2d8e93021d9b8 to your computer and use it in GitHub Desktop.
Save jfisbein/3eb0f598ed6894b86dd2d8e93021d9b8 to your computer and use it in GitHub Desktop.
Macro Keyboard Configuration - Google Meet Config
# Normal keyboard orientation is when
# buttons are on the left side and knobs are on the right.
# However, you may want to use the keyboard in another orientation.
# To avoid remapping button positions in your head, just set it here.
# Possible values are:
# (horizontal)
# - 'normal': buttons on the left, knobs on the right
# - 'upsidedown': buttons on the right, knobs on the left
# (vertical)
# - 'clockwise': buttons on the top, knobs on the bottom
# - 'counterclockwise': buttons on the bottom, knobs on the top
orientation: normal
# Different keyboard models have different numbers of buttons and knobs.
# Set it here for proper handling.
# Count rows and columns with the keyboard in normal orientation (knobs on the right)
rows: 1
columns: 3
knobs: 1
# Layers are sets of alternative key mappings.
# The current layer is changed using a button on the side of the keyboard
# and displayed with LEDs on top (only for the moment of changing).
# All keyboards I saw had three layers, but I suppose other variants exist.
layers:
- buttons:
# Array of buttons.
# In horizontal orientations it's `rows` rows `columns` buttons each.
# In vertical: `columns` rows `rows` buttons each.
# Each entry is either a sequence of 'chords' or a mouse event.
# A chord is a combination of one key with optional modifiers,
# like 'b', 'ctrl-alt-a' or 'win-rctrl-backspace'.
# It can also be just modifiers without a key: 'ctrl-alt'.
# You may combine up to 5 chords into a sequence using commas: 'ctrl-v,ctrl-c'.
# Arbitrary scan codes (decimal) may be given like this: '<101>'.
- ["ctrl-d", "ctrl-e", "ctrl-alt-h"]
knobs:
- ccw: "volumedown"
press: "mute"
cw: "volumeup"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment