Skip to content

reset() not really resetting #93

@impala454

Description

@impala454

Describe the bug
The reset() function does not really reset the device properly

To Reproduce
Start an application built with this library, then kill the process without calling the close() function. Then start that application again and buttons do not work properly. If a open, reset, close, open, reset is performed upon initialization this is not a problem.

StreamDeck Information
StreamDeckMini, can try on XL soon.

System Information
Ubuntu 20.04, master version of the library.

Sorry the description is a bit vague, but we're using a mini in production to control a robot. We noticed that a particular key mapping seems to mis-map upon starting our application again if it was killed without calling the close() function. We are running the stream deck from a dockerized application and if the user gets CTRL-C happy, it kills the stream deck node without close(), leaving it in the state it was previously in. Then when we run again, even though we reset() on startup, the key mappings don't work properly unless we add that close() call on start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions