abcminiuser / python-elgato-streamdeck

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

Missing Deck info in set_rotaryturn_callback #122

Closed vectorcharlie closed 1 year ago

vectorcharlie commented 1 year ago

Describe the bug When calling set_rotaryturn_callback, only the value is sent to the function

To Reproduce Set a call back for a StreamDeck Plus rotary and the funcion has to be only with one argument

deck.set_rotaryturn_callback(w.streamdeckRotaryTurned)

StreamDeck Information StreamDeck Plus

Adding:

self.rotaryturn_callback(self, rotary_status)

to StreamDeck.py solves the issue.

abcminiuser commented 1 year ago

Not sure this is still relevant given the number of community patches for the StreamDeck +; I've just merged support into master based off one of them. Please re-open this issue if it is still present with the merged patch.