Class SDL_HapticCondition

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_HapticCondition extends Struct<SDL_HapticCondition> implements NativeResource
struct SDL_HapticCondition {
    Uint16 type;
    SDL_HapticDirection direction;
    Uint32 length;
    Uint16 delay;
    Uint16 button;
    Uint16 interval;
    Uint16 right_sat[3];
    Uint16 left_sat[3];
    Sint16 right_coeff[3];
    Sint16 left_coeff[3];
    Uint16 deadband[3];
    Sint16 center[3];
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • DIRECTION

      public static final int DIRECTION
      The struct member offsets.
    • LENGTH

      public static final int LENGTH
      The struct member offsets.
    • DELAY

      public static final int DELAY
      The struct member offsets.
    • BUTTON

      public static final int BUTTON
      The struct member offsets.
    • INTERVAL

      public static final int INTERVAL
      The struct member offsets.
    • RIGHT_SAT

      public static final int RIGHT_SAT
      The struct member offsets.
    • LEFT_SAT

      public static final int LEFT_SAT
      The struct member offsets.
    • RIGHT_COEFF

      public static final int RIGHT_COEFF
      The struct member offsets.
    • LEFT_COEFF

      public static final int LEFT_COEFF
      The struct member offsets.
    • DEADBAND

      public static final int DEADBAND
      The struct member offsets.
    • CENTER

      public static final int CENTER
      The struct member offsets.
  • Constructor Details

    • SDL_HapticCondition

      public SDL_HapticCondition(ByteBuffer container)
      Creates a SDL_HapticCondition instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details