Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bringert/mutebutton
Uses a DIY USB HID joystick device to toggle mic mute in Microsoft Teams on Mac
https://github.com/bringert/mutebutton
Last synced: 2 months ago
JSON representation
Uses a DIY USB HID joystick device to toggle mic mute in Microsoft Teams on Mac
- Host: GitHub
- URL: https://github.com/bringert/mutebutton
- Owner: bringert
- Created: 2022-01-27T18:28:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T15:20:24.000Z (almost 3 years ago)
- Last Synced: 2024-08-03T09:06:46.030Z (4 months ago)
- Language: Python
- Size: 267 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Mac-Menubar-Megalist - mutebutton
README
# USB mute button for Microsoft Teams on Mac
## Hardware
Any USB HID joystick or gamepad should be supported.
To build your own with an Arduino Micro or other 32u4 device, see
[joyhandbrake](https://github.com/bringert/joyhandbrake).To build your own with a Raspberry Pi Pico, or other RP2040 device, see
[hardware-2040](hardware-2040).## Mac software dependencies
* Install python-libusb1
```
brew install libusb1
pip3 install -U libusb1 --user
```* Install hidapi
```
pip3 install -U hidapi --user
```* Install rumps (needed to make a status bar app)
```
pip3 install -U rumps --user
```* Install the Quartz framework bindings to inject keypresses
```
pip3 install -U pyobjc-framework-ApplicationServices pyobjc-framework-CoreText pyobjc-framework-Quartz --user
```* Install py-applescript to run the automation script
```
pip3 install -U py-applescript --user
```## Running
```
python3 Tyst.py
```## Building as a Mac app
* Install py2app
```
pip3 install -U py2app --user
```* Build app (in development/alias mode)
```
python3 setup.py py2app -A
```* Build app (in standalone mode)
```
python3 setup.py py2app
```## Running as a mac app
* Run app:
```
open dist/Tyst.app
```* Run app with console output:
```
dist/Tyst.app/Contents/MacOS/Tyst
```* Allow Accessibility access for Tyst