unfoldedcircle / feature-and-bug-tracker

Feature and bug tracker repository for Unfolded Circle products
22 stars 0 forks source link

[feature request] Emit event for every physical button press #212

Open ChristianMarty opened 7 months ago

ChristianMarty commented 7 months ago

Is there an existing issue for this?

Description

Emit a button press event for all the physical buttons on the WebSokets API.

At the moment, most of the buttons are not usable most of the time. e.g. The volume (+/-) buttons work only for media players.

It would be incredibly useful if the remote could send a key press event and some context (currently active screen/entity) when a button is pressed. This would enable the integration server to handle those keypresses based on some context.

Use case example: The +/- button could be used as a globe volume control regardless of the current screen/state of the remote.

Additional context

No response