Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Remote volume controls
#9
@MRamone

Sorry, I managed to overlook your most recent post. I'm backed up at the moment* but I'll try to help if you get lost in the following.

I don't know any details about the Microsoft Surface Dial but I assume it supports some basic gestures such as rotate right, rotate left, press, press and hold, or such. We just need to determine what message it sends for each gesture and map them to moOde.

I covered the basics of determining the messages and mapping them in Using FLIRC and other USB input devices... but that HowTo assumed the device is already connected and recognized by the OS (and triggerhappy). 

To get there using a remote Bluetooth device and the Pi's onboard Bluetooth controller, you'll have to work from the command line. If you ply your favorite search engine with a phrase like "linux connect bluetooth device from command line" you'll come across instructions using tools like hcitool and bluetoothctl, both of which are already present in moOdeOS. Some scripting may be required to tie it all together for automation but first learn the basics.

As a quick test, I enabled the triggerhappy daemon by enabling the USB Volume Knob feature in moOde and then connected a Logitech K380 Bluetooth keyboard to moOde using bluetoothctl. I found that the keyboard's predefined mute/volume up/volume down buttons worked with moOde's existing triggerhappy configuration but its previous/play-stop/next buttons did not. I'd have to follow my own HowTo above to map them.

Good luck.

Regards,
Kent

* I'm busy studying up on the FIRST Robotic Competition 2022 because I've just been asked to step in as a mentor to an local inexperienced high school team after being away from FRC for years. There's a lot to catch up on.
Reply


Messages In This Thread
Remote volume controls - by escfac42 - 11-03-2021, 02:11 PM
RE: Remote volume controls - by TheOldPresbyope - 11-03-2021, 02:41 PM
RE: Remote volume controls - by MRamone - 11-13-2021, 09:35 AM
RE: Remote volume controls - by TheOldPresbyope - 11-13-2021, 12:55 PM
RE: Remote volume controls - by MRamone - 01-16-2022, 02:42 PM
RE: Remote volume controls - by MRamone - 11-13-2021, 01:14 PM
RE: Remote volume controls - by escfac42 - 11-26-2021, 02:43 PM
RE: Remote volume controls - by TheOldPresbyope - 11-26-2021, 05:27 PM
RE: Remote volume controls - by TheOldPresbyope - 01-18-2022, 09:47 PM
RE: Remote volume controls - by MRamone - 01-19-2022, 04:51 PM
RE: Remote volume controls - by TheOldPresbyope - 01-19-2022, 08:27 PM
RE: Remote volume controls - by Tim Curtis - 01-19-2022, 10:09 PM
RE: Remote volume controls - by TheOldPresbyope - 01-19-2022, 10:16 PM
RE: Remote volume controls - by MRamone - 01-20-2022, 05:35 PM
RE: Remote volume controls - by TheOldPresbyope - 01-20-2022, 05:39 PM
RE: Remote volume controls - by MRamone - 01-20-2022, 05:46 PM
RE: Remote volume controls - by the_bertrum - 01-21-2022, 08:31 AM

Forum Jump: