New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Long & double press support for button mappings #94
Comments
No, it's not really related. This feature should allow to map a completely different command from a different device to a long and double press action as it is possible with the Harmony. |
Without yours being fulfilled mine and the others are impossible. So I do think they're related. Someone using an integration inside of an activity for instance would be unable to use any of of the long press actions without your request having been fulfilled because an activities interface has to be customized per activity. In a general sense the remote currently has no long press functionality, in activities, integrations or otherwise. Mostly just wanted to note the connection between them since from an implementation standpoint I think they are connected and from the developer end the work would overlap somewhat. |
The other issues are about the commands itself. If the integrations would offer these long press actions as a separate command they could also be mapped to a normal short press action. Of course you would then need two separate buttons on the remote but it would still be possible to execute the "long press" command with the integration via a short press action on the remote. So this issue would just makes it easier for the user but it is not absolutely necessary. |
Short press, repeat and long presses are handled by the UI. We're adding configuration options to the Web Configurator, where one can define a command to be executed for a short press and long press. Double press is not supported. The current implementation works like this: If no long press is defined for a button, the short press command will be executed and repeated on press and hold. |
Will it be possible to apply long press to the screen buttons? |
Cannot promise, will look into it. |
Should I create an issue? |
Is this a now feature? |
Tried out 1.7.4 and while long press is working if also a short press command is mapped it doesn't work if you just map a long press command to a button. The remote ui logs the key press but the actual command is not executed. |
Found the issue, we'll release a patch update today or tomorrow. |
Thanks, its fixed. |
Long-press is included in 1.7.4. Double-click should normally work with quickly pressing the button twice, but the functionality depends on the device and on timing requirements. |
If double-click should work on some devices could you explain why it works for the cursor buttons on the Apple-TV but not for Home on the same device? Both should have the same timing requirements. |
See #56. It's most likely the long press logic in the UI which prevents a double click. |
Ok, but then double click does not normally work if the ui long press logic prevents it |
Is there an existing issue for this?
Description
Since the remote just has a limited amount of physical buttons it would be great to map more functions to these buttons via long and double press actions.
This is a common feature in other products like the Logitech Harmony or as a double click on a simple mouse. Even UCRT already makes use of it on the menu button to open the context menu for a page ;)
Additional context
No response
The text was updated successfully, but these errors were encountered: