abcminiuser / python-elgato-streamdeck

Python library to control the Elgato Stream Deck.
Other
919 stars 137 forks source link

Timing information for Touch Events #141

Closed devleaks closed 5 months ago

devleaks commented 7 months ago

Is it possible to "control" the timing that decides when a touch event type is a SHORT or LONG press?

Similarly, when a DRAG event occurs, is it possible to control the timing? It appears that the end of the DRAG is "forced" after some time, making long DRAGs impossible. Is this correct or am I missing something?

Thank you.

Best regards.

Core447 commented 7 months ago

Maybe this can be solved by adding touch_press and touch_release events. This would allow developers to manually process them and therefore configure the timing.

Julusian commented 7 months ago

Maintainer of the nodejs equivalent of this library here. Last I checked (when the plus was new), the streamdeck just emits a 'short', 'long' or 'drag' event over usb, it doesn't provide anything else. Unless something has changed in newer firmware, or someone has found a secret way of enabling extra events, I don't think anything is possible here

Core447 commented 7 months ago

That's unfortunate

devleaks commented 7 months ago

So if I understand, Elgato "hardware" prevent access to button "release" information, correct? We only have touched SHORT, touched LONG (long being fixed by Elgato, with no mean to change it), and DRAG (for an arbitrary duration also, with no info on timing for press and release, only info on pixels positions). If it is correct, I suppose we can close this enhancement request. Thank you.

abcminiuser commented 5 months ago

With the hardware protocol itself only giving the events are short/long/etc there's not much we can do unfortunately,