Class DeckDescriptor

java.lang.Object
de.rcblum.stream.deck.device.descriptor.DeckDescriptor

public class DeckDescriptor extends Object
Descriptor for the different stream decks.

MIT License

2025 Roland von Werden

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Version:
1.0.1
Author:
Roland von Werden
  • Field Details

    • SOFT_STREAM_DECK

      public static final DeckDescriptor SOFT_STREAM_DECK
    • deviceVendor

      public final short deviceVendor
    • productId

      public final short productId
    • deviceName

      public final String deviceName
    • iconSize

      public final Dimension iconSize
    • fullDisplaySize

      public final Dimension fullDisplaySize
    • rows

      public final int rows
    • columns

      public final int columns
    • defaultFontSize

      public final int defaultFontSize
    • touchScreenIndex

      public final int touchScreenIndex
    • inputReportKeys

      public final byte[] inputReportKeys
    • inputReportTouchScreen

      public final byte[] inputReportTouchScreen
    • inputReportDials

      public final byte[] inputReportDials
    • keyEventInputReportOffset

      public final int keyEventInputReportOffset
    • drawImageInterface

      public final DrawImageInterface drawImageInterface
    • drawImageKeyOffset

      public final int drawImageKeyOffset
    • drawTouchScreenInterface

      public final DrawTouchscreenInterface drawTouchScreenInterface
    • drawFullImageInterface

      public final DrawImageInterface drawFullImageInterface
    • resetInterface

      public final FeatureReportInterface resetInterface
    • brightnessInterface

      public final FeatureReportIntegerInterface brightnessInterface
  • Method Details

    • getDescriptor

      public static DeckDescriptor getDescriptor(short vendorId, short productid)
    • getDescriptorByKeySize

      public static DeckDescriptor getDescriptorByKeySize(int keys)
    • getKeySize

      public int getKeySize()
    • getTotalKeySize

      public int getTotalKeySize()
    • getSpecialKeySize

      public int getSpecialKeySize()
    • getSpecialKeyOffset

      public int getSpecialKeyOffset()
    • getKey

      public KeyType getKey(int keyId)
    • getSpecialKey

      public KeyType getSpecialKey(int keyId)
    • getSpecialKeys

      public KeyType[] getSpecialKeys()
    • getTouchScreenIndex

      public int getTouchScreenIndex()