Skip to content

Instantly share code, notes, and snippets.

@aaronmelton
Created April 20, 2022 17:21
Show Gist options
  • Save aaronmelton/65dd4cb8f1dddc3b77837d95bf2b3be3 to your computer and use it in GitHub Desktop.
Save aaronmelton/65dd4cb8f1dddc3b77837d95bf2b3be3 to your computer and use it in GitHub Desktop.
Zoom/Google Meet MacOS hotkeys for Adafruit MACROPAD
# SPDX-FileCopyrightText: 2021 Phillip Burgess for Adafruit Industries
#
# SPDX-License-Identifier: MIT
from adafruit_hid.keycode import Keycode # REQUIRED if using Keycode.* values
app = { # REQUIRED dict, must be named 'app'
'name' : 'Meetings', # Application name
'macros' : [ # List of button macros...
# COLOR LABEL KEY SEQUENCE
# 1st row ----------
(0x000000, '', []),
(0x000000, '-------[Zoom]-------', []),
(0x000000, '', []),
# 2nd row ----------
(0x004dcf, 'Mute', [Keycode.COMMAND, Keycode.SHIFT, 'a']),
(0xfccb00, 'Camera', [Keycode.COMMAND, Keycode.SHIFT, 'v']),
(0xb80000, 'Quit', [Keycode.COMMAND, 'w', 1.0, Keycode.ENTER]),
# 3rd row ----------
(0x000000, '', []),
(0x000000, '----[Google Meet]----', []),
(0x000000, '', []),
# 4th row ----------
(0x004dcf, 'Mute', [Keycode.COMMAND, 'd']),
(0xfccb00, 'Camera', [Keycode.COMMAND, 'e']),
(0xb80000, 'Quit', [Keycode.COMMAND, 'w']),
# Encoder button ---
(0x000000, '', [])
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment