# PyRuler Video Conference Panic Buttons

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/093/647/medium800/adafruit_products_PyRuler_crop.jpg?1596304973 The four-key keyboard for the next time you have to PANIC!)

Have you ever been in a video chat, and had some kind of disaster happen that left you scrambling to mute and cut your video feed? I know I have - the most recent being when I spilled hot coffee on my lap. PANIC!

This project was inspired by [Simon Prickett's Zoom Panic Button](https://simonprickett.dev/making-a-single-button-keyboard/), which allows a user to both mute and cut video at the push of an arcade switch embedded in a Starbucks cup.

Like many of us, I'm spending a lot more time on video calls these days, but Zoom isn't the only video conferencing software I use. Most of my work meetings are on Microsoft Teams or Skype, and personal meetings are on either [Zoom](https://zoom.us/) or [Jitsi](https://github.com/jitsi/jitsi-meet).

Each one of these applications uses its own hotkeys for muting and stopping the camera, so one button wouldn't do the trick, and my desk is already littered enough with Starbucks cups, so I thought it would be best to build something new! 

As it turns out, I had a Trinket M0 *already embedded with four buttons* in the form of an [Adafruit PyRuler](https://www.adafruit.com/product/4319). Even better, it's already pre-programmed as a USB HID device, so it was ready to go as a keyboard entry device.

This is a quick and easy project that lets you program your PyRuler as a multi-application panic switch. If you have access to a 3D printer, you can also create a labeled enclosure for it for when you PANIC!

![](https://cdn-learn.adafruit.com/assets/assets/000/093/648/medium800/adafruit_products_PyRuler_Zoom.png?1596307426 How quickly can you hit both of these buttons with a lap full of hot coffee? A PyRuler can help...)

## Parts
Featured
### Adafruit PyRuler - Engineer Reference Ruler with CircuitPython

[Adafruit PyRuler - Engineer Reference Ruler with CircuitPython](https://www.adafruit.com/product/4319)
The first time you soldered up a surface mount component you may have been surprised "these are _really small_ parts!" and there's a&nbsp;dozen of different names too! QFN, TDFN, SOIC, SOP, J-Lead, what do they mean and how can you tell how big they are? Now you can have a...

In Stock
[Buy Now](https://www.adafruit.com/product/4319)
[Related Guides to the Product](https://learn.adafruit.com/products/4319/guides)
![A purple-manicured finger presses the capacitive touch pads on a purple electronic ruler. The LEDs light up as the finger presses the capacitive gold pad.](https://cdn-shop.adafruit.com/product-videos/640x480/4319-05.jpg)

Featured
### USB cable - USB A to Micro-B

[USB cable - USB A to Micro-B](https://www.adafruit.com/product/592)
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or microcontroller

Approximately 3 feet / 1 meter long

In Stock
[Buy Now](https://www.adafruit.com/product/592)
[Related Guides to the Product](https://learn.adafruit.com/products/592/guides)
![USB cable - USB A to Micro-B - 3 foot long](https://cdn-shop.adafruit.com/640x480/592-01.jpg)

- [Next Page](https://learn.adafruit.com/pyrulervideopanic/code.md)

## Guide Products

### Adafruit PyRuler - Engineer Reference Ruler with CircuitPython

[Adafruit PyRuler - Engineer Reference Ruler with CircuitPython](https://www.adafruit.com/product/4319)
The first time you soldered up a surface mount component you may have been surprised "these are _really small_ parts!" and there's a&nbsp;dozen of different names too! QFN, TDFN, SOIC, SOP, J-Lead, what do they mean and how can you tell how big they are? Now you can have a...

In Stock
[Buy Now](https://www.adafruit.com/product/4319)
[Related Guides to the Product](https://learn.adafruit.com/products/4319/guides)
### USB cable - USB A to Micro-B

[USB cable - USB A to Micro-B](https://www.adafruit.com/product/592)
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or microcontroller

Approximately 3 feet / 1 meter long

In Stock
[Buy Now](https://www.adafruit.com/product/592)
[Related Guides to the Product](https://learn.adafruit.com/products/592/guides)

## Related Guides

- [Adafruit PyRuler](https://learn.adafruit.com/adafruit-pyruler.md)
- [The Tilt Trumpet](https://learn.adafruit.com/the-tilt-trumpet.md)
- [Make It a Keyboard](https://learn.adafruit.com/make-it-a-keyboard.md)
- [Crickit Powered Dancin' Snowman!](https://learn.adafruit.com/crickit-powered-dancin-snowman.md)
- [What is Web MIDI & BLE MIDI?](https://learn.adafruit.com/web-ble-midi.md)
- [Data Logging IoT Weight Scale](https://learn.adafruit.com/data-logging-iot-weight-scale.md)
- [IoT Motion and Temperature Logger with the Analog Devices ADXL343 + ADT7410 Sensor FeatherWing and Adafruit IO](https://learn.adafruit.com/iot-motion-and-temperature-sensor-with-adxl343-adt7410-sensor-featherwing-and-adafruit-io.md)
- [NeoTrellis M4 Arpeggiator Synth](https://learn.adafruit.com/neotrellis-arpeggiator-synth.md)
- [Raspberry Pi SelfieBlock](https://learn.adafruit.com/selfieblock.md)
- [Make It Glow - Your First NeoPixel Project](https://learn.adafruit.com/make-it-glow-your-first-neopixel-project.md)
- [Crickit Powered Maker Ice Cream Truck!](https://learn.adafruit.com/crickit-maker-ice-cream-truck.md)
- [Wirelessly Program a Circuit Playground Bluefruit Using the File Glider App ](https://learn.adafruit.com/how-to-transfer-files-to-a-circuit-playground-bluefruit-using-the-fileglider-app.md)
- [eInk / ePaper Weather Station](https://learn.adafruit.com/epaper-weather-station.md)
- [Where's My Friend? A Location-Aware Display with PyPortal and ItsASnap](https://learn.adafruit.com/where-s-my-friend-a-location-display-frame-with-pyportal.md)
- [Perfect Pitch Machine](https://learn.adafruit.com/perfect-pitch-machine.md)
- [Halloween Monsters with CRICKIT and Circuit Playground Express](https://learn.adafruit.com/halloween-monsters-with-crickit.md)
