Code Monkey home page Code Monkey logo

mighty-mute's Introduction

Mighty Mute

A tiny USB HID device to send a "Mute Microphone" command to a PC

What?

A USB device which conforms to the USB HID spec such that it is driverless. It enumerates as a USB Input device, and when a button is pressed, it sends the PHONE MUTE command (0x2F) which lives in the Telephony (0x05) usage page. It actually sends two commands, one for the key being pressed and then, after a short pause, one for the key being released.

Why?

The PHONE MUTE USB HID command is interpreted by most telephony programs as "mute the microphone". It's handy to have a physical desktop button to do this.

Usage

This is a project for an ARM STM32F4 microcontroller (supporting USB OTG) which uses libopencm3. Some adaption is probably required for other STM32s.

  • Clone (recursively) this repo.
  • Adjust the GPIO and linker scripts for your specific target.
  • Build using arm-gcc-embedded.
  • Flash to your chosen microcontroller.

License

Released under the MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.