Class INPUT.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new INPUT.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by INPUT.SIZEOF, and its mark will be undefined.

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

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • type

        public int type()
        Returns the value of the type field.
      • DUMMYUNIONNAME_mi

        public MOUSEINPUT DUMMYUNIONNAME_mi()
        Returns a MOUSEINPUT view of the DUMMYUNIONNAME.mi field.
      • DUMMYUNIONNAME_ki

        public KEYBDINPUT DUMMYUNIONNAME_ki()
        Returns a KEYBDINPUT view of the DUMMYUNIONNAME.ki field.
      • type

        public INPUT.Buffer type​(int value)
        Sets the specified value to the type field.
      • DUMMYUNIONNAME_mi

        public INPUT.Buffer DUMMYUNIONNAME_mi​(java.util.function.Consumer<MOUSEINPUT> consumer)
        Passes the DUMMYUNIONNAME.mi field to the specified Consumer.
      • DUMMYUNIONNAME_ki

        public INPUT.Buffer DUMMYUNIONNAME_ki​(java.util.function.Consumer<KEYBDINPUT> consumer)
        Passes the DUMMYUNIONNAME.ki field to the specified Consumer.
      • DUMMYUNIONNAME_hi

        public INPUT.Buffer DUMMYUNIONNAME_hi​(java.util.function.Consumer<HARDWAREINPUT> consumer)
        Passes the DUMMYUNIONNAME.hi field to the specified Consumer.