Class StreamDeckConstants

java.lang.Object
de.rcblum.stream.deck.device.StreamDeckConstants

public class StreamDeckConstants extends Object
  • Field Details

    • RESET_DATA_REV2

      public static final byte[] RESET_DATA_REV2
      Reset command
    • BRIGHTNES_DATA_REV2

      public static final byte[] BRIGHTNES_DATA_REV2
      Brightness command
    • PAGE_PACKET_SIZE_REV2

      public static final int PAGE_PACKET_SIZE_REV2
      Page size that can be sent to the ESD at once
      See Also:
    • INPUT_REPORT_IMAGE_KEY_REV2

      public static final byte[] INPUT_REPORT_IMAGE_KEY_REV2
      REV2 Input Report for normal Keys
    • INPUT_REPORT_DIAL_REV2

      public static final byte[] INPUT_REPORT_DIAL_REV2
      REV2 Input Report for dials Keys
    • INPUT_REPORT_TOUCH_SCREEN_REV2

      public static final byte[] INPUT_REPORT_TOUCH_SCREEN_REV2
      REV2 Input Report for dials Keys
    • BRIGHTNES_DATA_REV1

      public static final byte[] BRIGHTNES_DATA_REV1
      Brightness command
    • RESET_DATA_REV1

      public static final byte[] RESET_DATA_REV1
      Reset command
    • INPUT_REPORT_IMAGE_KEY_REV1

      public static final byte[] INPUT_REPORT_IMAGE_KEY_REV1
      REV1 Input Report for normal Keys
    • INPUT_REPORT_DIAL_REV1

      public static final byte[] INPUT_REPORT_DIAL_REV1
      REV1 Input Report for dials Keys
    • INPUT_REPORT_TOUCH_SCREEN_REV1

      public static final byte[] INPUT_REPORT_TOUCH_SCREEN_REV1
      REV1 Input Report for dials Keys
    • PAGE_PACKET_SIZE_REV1

      public static final int PAGE_PACKET_SIZE_REV1
      Page size that can be sent to the ESD at once
      See Also:
    • NUM_FIRST_PAGE_PIXELS_REV1

      public static final int NUM_FIRST_PAGE_PIXELS_REV1
      Pixels(times 3 to get the amount of bytes) of an icon that can be sent with page 1 of the image command
      See Also:
    • NUM_SECOND_PAGE_PIXELS_REV1

      public static final int NUM_SECOND_PAGE_PIXELS_REV1
      Pixels(times 3 to get the amount of bytes) of an icon that can be sent with page 2 of the image command
      See Also:
    • BUTTON_COUNT

      public static final int BUTTON_COUNT
      Number of buttons on the ESD, assuming the standard ESD
      See Also:
    • ROW_COUNT

      public static final int ROW_COUNT
      Number of rows on the ESD, assuming the standard ESD
      See Also:
    • DEFAULT_STREAM_DECK_DESCRIPTOR

      public static final DeckDescriptor DEFAULT_STREAM_DECK_DESCRIPTOR
    • ICON_SIZE

      public static final Dimension ICON_SIZE
      Icon size of one key (Use the greatest size)
    • TOUCH_SCREEN_SIZE

      public static final Dimension TOUCH_SCREEN_SIZE
      Icon size of one key (Use the greatest size)
    • BLACK_ICON

      public static final SDImage BLACK_ICON
      Back image for not used keys
  • Constructor Details

    • StreamDeckConstants

      public StreamDeckConstants()
  • Method Details

    • internalResetRev2

      public static void internalResetRev2(purejavahidapi.HidDevice hidDevice)
      Sends reset-command to ESD REV2
    • internalUpdateBrightnessRev2

      public static void internalUpdateBrightnessRev2(purejavahidapi.HidDevice hidDevice, int brightnessValue)
      Sends brightness-command to ESD REV2
    • internalDrawImageRev2

      public static void internalDrawImageRev2(purejavahidapi.HidDevice hidDevice, int keyIndex, Dimension iconSize, SDImage imgData)
    • updateTouchScreenHeader

      public static byte[] updateTouchScreenHeader(byte[] header, Point imageStart, Dimension imageSize, int chunkNo, boolean lastChunk, int payLoadLength)
    • internalDrawTouchScreenRev2

      public static void internalDrawTouchScreenRev2(purejavahidapi.HidDevice hidDevice, Point imageStart, Dimension imageSize, SDImage imgData)
    • internalDrawFullImageRev2

      public static void internalDrawFullImageRev2(purejavahidapi.HidDevice hidDevice, int keyIndex, Dimension iconSize, SDImage imgData)
    • internalDrawImageRev2

      public static void internalDrawImageRev2(purejavahidapi.HidDevice hidDevice, int keyIndex, Dimension iconSize, SDImage imgData, byte[] pageHeader)
    • internalResetRev1

      public static void internalResetRev1(purejavahidapi.HidDevice hidDevice)
      Sends reset-command to ESD REV1
    • internalUpdateBrightnessRev1

      public static void internalUpdateBrightnessRev1(purejavahidapi.HidDevice hidDevice, int brightnessValue)
      Sends brightness-command to ESD REV1
    • internalDrawImageRev1

      public static void internalDrawImageRev1(purejavahidapi.HidDevice hidDevice, int keyIndex, Dimension iconSize, SDImage imgData)