Class DialKey

java.lang.Object
de.rcblum.stream.deck.device.components.DialKey
All Implemented Interfaces:
StreamKeyListener

public class DialKey extends Object implements StreamKeyListener
  • Field Details

    • keyId

      public final int keyId
      Id of the dial within the stream deck
  • Constructor Details

    • DialKey

      public DialKey(int keyId, IStreamDeck streamDeck)
  • Method Details

    • isPressed

      public boolean isPressed()
    • addListener

      public boolean addListener(StreamKeyListener listener)
    • onKeyEvent

      public void onKeyEvent(KeyEvent event)
      Description copied from interface: StreamKeyListener
      Whenever a key event is triggered this method will be called
      Specified by:
      onKeyEvent in interface StreamKeyListener
      Parameters:
      event -