Skip to content

Simple application that hacks in support for Android headset media control on Windows.

License

Notifications You must be signed in to change notification settings

varianus/headsetcheck

Repository files navigation

Android Headset Media Controls on Windows

Lazarus/FreePascal application that hacks in support for Android headset media control for Windows.

This is a port of a python script found at https://github.com/roligheten/AndroidMediaControlsWindows For more details on how this works, see the associated blog post

Once started, application run as an icon in your tray. When a button in your headset is pressed (it can't detect which button is pressed) it emulate the press of the multimedia key "play/pause", even if your keyboard does not have one. Source could be easily modified to call an external application or do other actions.

NB: This is just a quick hack, take this as a proof of concept. I'm not interested on making this a full featured and configurable application. It work well on my system and that's enough.

Why I've written this application

I like listening music while I'm working in my laptop. Very often I use remote desktop to connect to various server, sometimes even nesting connections. So multimedia keys do not work and i need to go back to my pc to pause music. Using this app, you can just press the headset button to pause the music.

Build

To build this application you will need:

Dependency

For audio monitoring this app need a binary build of portaudio. Recents build for major platforms could be found on the GitHub repository of UOS

About

Simple application that hacks in support for Android headset media control on Windows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages