Releases: VVEIRD/StreamDeckCore
StreamDeckCore Version 1.0.2
Changes
- Code cleanup
- Fixed some bugs
IconHelper:
- Most methods does not apply a frame anymore, it has to be done manually
- All public attributes where set to private and Setter/Getter were created
StreamDeckDevices:
- ENABLE_SOFTWARE_STREAM_DECK was set to private and can be modified with
disableSoftwareStreamDeck()
andenableSoftwareStreamDeck()
, the current state can be queried withisSoftwareStreamDeckEnabled()
StreamDeckCore Version 1.0.0
- Fixed OudOufBoundsException for converting images that are not squared
StreamDeckCore Version 1.0.2-SNAPSHOT
Code cleanup and modification to the API. This release breaks compatibility with the older releases.
StreamDeckCore Version 1.0.0
- Fixed duplicate Animatiors for a StreamDeck.
- Now uses a custom purejavahidapi
StreamDeckCore Version 1.0
StreamDeckCore
StreamDeckCore provides api acces to any connected Elgato Stream Deck (Called ESD from now on). Windows, Linux and Mac OS X should be supported, but only windows could be tested. This project is not associated in any way with Elgato Systems.
Basic functionality
StreamDeckCore provides the following basic features:
- Supporting multiple ESDs
- Recognizing a connected ESD
- Retriving all connected ESDs
- Resetting the connected ESD
- Setting the icons of the keys (0 - 14)
- Setting the brightness of the ESD (0 - 99)
- Recieving key pressed, released, clicked events from the ESD
- Recieving events for key binds that are beeing displayed and when they are taken off through KeyEvents.
- Custom animations for specific keys, at a 60/30/15 fps or custom fps.
Advanced functionality
StreamDeckController
The StreamDeckController class is an easy way to display content and create folder structures without the need of developing the code for folders etc. yourself. Animations are supported.
Soft Deck
If you have no Stream Deck yourself, but still want to develop for the plattform, you can use the software implementation to do that. Its a simple JFrame of all 15 "buttons" displayed. Its activated on default and can be disabled at the start of your program by setting de.rcblum.stream.deck.device.StreamDeckDevices.ENABLE_SOFTWARE_STREAM_DECK to false.
Dependencies
This uses the github project https://github.com/nyholku/purejavahidapi (forked to https://github.com/WElRD/purejavahidapi), jna 4.0, gson and log4j, which can be downloaded through maven:
<!-- https://mvnrepository.com/artifact/net.java.dev.jna/jna -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>4.0.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.9.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.9.0</version>
</dependency>
Usage
For examples please see the wiki