Skip to content

Feature/stream deck plus xl - #176

Open
jowin202 wants to merge 4 commits into
abcminiuser:masterfrom
jowin202:feature/stream-deck-plus-xl
Open

Feature/stream deck plus xl#176
jowin202 wants to merge 4 commits into
abcminiuser:masterfrom
jowin202:feature/stream-deck-plus-xl

Conversation

@jowin202

@jowin202 jowin202 commented Jul 27, 2026

Copy link
Copy Markdown

Claude helped me.
I'll test it as soon as my stream deck plus xl arrives

Edited: oh I haven't seen there is already a pull request for plus XL version.
Please ignore this one.

Your Name added 4 commits July 27, 2026 06:45
PILHelper._to_native_format() rotated images with Image.rotate()'s
default expand=False, which keeps the original canvas size. For a
square canvas (every existing device's key images) or a 0/180 degree
rotation this is a no-op, but for a non-square canvas rotated by 90 or
270 degrees it silently clips the rotated content instead of growing
the canvas to fit it.

This is required to correctly support the Stream Deck + XL's touch
window (1200x100) and full LCD panel (1280x800) images, which Elgato's
protocol requires to be rotated 90 degrees counter-clockwise before
upload.

No behavioural change for any existing device.
Adds a new StreamDeckPlusXL device class implementing the Stream Deck
+ XL (36 keys in a 9x4 matrix, 6 rotary encoders, a touch-capable
window strip, and a full LCD panel behind the keys), and registers its
VID/PID (0x0FD9 / 0x00C6) with the DeviceManager.

Implemented directly from Elgato's official HID protocol documentation:
  https://docs.elgato.com/streamdeck/hid/stream-deck-plus-xl
  https://docs.elgato.com/streamdeck/hid/general

Key event, touchscreen event (TAP/PRESS/FLICK) and encoder event
(BTN/ROTATE) parsing follow the same on-wire layout already used by
the existing Stream Deck + implementation, just sized for 36 keys / 6
encoders. Button, touchscreen-window and full-screen images are all
generated dynamically via PILHelper (instead of a hardcoded blank JPEG
byte array), so they are always correct for this device's declared
image formats -- including the 90 degree counter-clockwise rotation
this device requires for its touchscreen and screen images.

Note: the VID/PID and protocol details come from Elgato's published
documentation; I don't have physical hardware to test against, so
real-world verification (particularly key index ordering and image
orientation) from someone with the device would be very welcome.
Mirrors example_plus.py: demonstrates per-key images, dial push/turn
callbacks, drawing on the touchscreen window, and setting the full
LCD panel image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant