public static class KEYBDINPUT.Buffer extends org.lwjgl.system.StructBuffer<KEYBDINPUT,KEYBDINPUT.Buffer> implements org.lwjgl.system.NativeResource
KEYBDINPUT structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
KEYBDINPUT.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
dwExtraInfo()
Returns the value of the
dwExtraInfo field. |
KEYBDINPUT.Buffer |
dwExtraInfo(long value)
Sets the specified value to the
dwExtraInfo field. |
int |
dwFlags()
Returns the value of the
dwFlags field. |
KEYBDINPUT.Buffer |
dwFlags(int value)
Sets the specified value to the
dwFlags field. |
int |
time()
Returns the value of the
time field. |
KEYBDINPUT.Buffer |
time(int value)
Sets the specified value to the
time field. |
short |
wScan()
Returns the value of the
wScan field. |
KEYBDINPUT.Buffer |
wScan(short value)
Sets the specified value to the
wScan field. |
short |
wVk()
Returns the value of the
wVk field. |
KEYBDINPUT.Buffer |
wVk(short value)
Sets the specified value to the
wVk field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
KEYBDINPUT.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 KEYBDINPUT.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public short wVk()
wVk field.public short wScan()
wScan field.public int dwFlags()
dwFlags field.public int time()
time field.public long dwExtraInfo()
dwExtraInfo field.public KEYBDINPUT.Buffer wVk(short value)
wVk field.public KEYBDINPUT.Buffer wScan(short value)
wScan field.public KEYBDINPUT.Buffer dwFlags(int value)
dwFlags field.public KEYBDINPUT.Buffer time(int value)
time field.public KEYBDINPUT.Buffer dwExtraInfo(long value)
dwExtraInfo field.Copyright LWJGL. All Rights Reserved. License terms.