-
Notifications
You must be signed in to change notification settings - Fork 34
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
Differentiate long press and move events #157
Comments
You can record a long button press as recording any other button press from the device. You can map a button combination to this, like with any other combination. But I agree that the docs are not up to date with this information. |
Only for the hold move events the possible action type changes |
I tried that one; however it was not working due to two reasons: 1) It is not possible for user to again produce the same long button press events (due to high traffic from device during hold events) 2) in practice, the action for |
Try it with the version on develop There is a difference now between a long press and a long press move event |
I understood now and long press is working if I do not move the device. We need to update the docs. |
Actually it doesn't matter how much you move around when recording a long press .. during input mapper recording no long press move events are getting forwarded to the input mapper |
Yes, you are right. However, while executing we should not move the device. I have found a bug in case when both long-press and move event are defined for same button (say Next button), then holding the button and moving it result in both actions (long-press and move actions). I think we can put a timeout for long-press event (as it is there for other input event in form of input sequence interval). If we do not receive any move packet from device then we execute long press event otherwise not. |
I know what you mean, but I don't think this is much of an issue. If the user wants to assign both , the user can. I don't think that is possible with the Logitech software. |
But while presenting, user should be sure what actions are going to happen (in case if he has defined both long-press and move events). I am checking the code and most probably will post a fix (along with updated docs) soon. |
I argue that if the user assigned both, the user wants to assign both. The beauty with that is, that the long press is an event as any other... Special handling is only necessary for 'hold move' events |
After thinking about it for a while, my basic idea still stands - I don't want to restrict to the user to either or. The only difference is that a "move event" does not make sense for certain actions - that is why the possible action selection is restricted and changed in depending on that. |
Well it is both, if both is assigned - and therefore intended by the user
|
Please check the PR #158 . The only change in that PR is introduction of button release code, which can differentiate long-press and hold move events. Now user can have the control about whether he/she want 'long-press' action only or 'hold move' action only. However, on second thought I found that the executing such events separately is tricky from user prospective, so I am closing this issue. We still need to update the docs. |
Description
Currently actions like
Key Sequence
,Cycle Preset
, andToggle Spotlight
are not available for Next/Back Hold move events in Projecteur 1.0 alpha, which lead to following issue:key Sequence
mapping.Expected behavior
I think that the user should have the option of these mapped action (
Key Sequence
,Cycle Preset
, andToggle Spotlight
) on Next/Back hold event. There might be creative and useful ways to utilize these mapped actions on Next/Back hold events. The official software provide this option and it let user decide what they want to do with Next/Back hold events (Please see #14 ).Desktop/Linux Environment (please complete the following information):
projecteur -f
?:projecteur -d
?:The text was updated successfully, but these errors were encountered: