Skip to content

Implemented Input events, SD+ support (partial) #33

@BIightning

Description

@BIightning

Hi @ryankurte , I implemented some new features in my fork

  • Input events
  • Streamdeck Plus Support (including Dials and touchscreen)
  • probe function to detect connected streamdecks

Input events

image

As you can see, I added a new get-input command that returns an input event enum on press. It's obviously not as lightweight as the current get-buttons command, but much nicer to work with in my opinion.

Streamdeck Plus Support

Buttons, Dials (Press and turn) and Touch (short, long, drag) input events work as you can see in the image above.

The only thing that doesn't work right now is writing images to the touchscreen. I took the python library as a reference, but everytime I try writing to the touchscreen, it shows garbage and crashes shortly after. Not sure why, but I normally don't program "low level" stuff like this. Could use help on that :) Also the main reason why I didn't open a pull request yet.

Probe

Just a simple function that returns all connected Streamdecks.
image
It's a bit pointless with the current cli, as you need to provide a pid to run the probe command.

The branch a bit messy right now, as I created several near identical functions for the touchscreen image logic but I'd really like to collaborate and bring this to the main repo.
What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions