struct TOUCHINPUT {
LONG x;
LONG y;
HANDLE hSource;
DWORD dwID;
DWORD dwFlags;
DWORD dwMask;
DWORD dwTime;
ULONG_PTR dwExtraInfo;
DWORD cxContact;
DWORD cyContact;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | TOUCHINPUT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CXCONTACT
The struct member offsets. |
| public static final int | CYCONTACT
The struct member offsets. |
| public static final int | DWEXTRAINFO
The struct member offsets. |
| public static final int | DWFLAGS
The struct member offsets. |
| public static final int | DWID
The struct member offsets. |
| public static final int | DWMASK
The struct member offsets. |
| public static final int | DWTIME
The struct member offsets. |
| public static final int | HSOURCE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | X
The struct member offsets. |
| public static final int | Y
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | TOUCHINPUT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static TOUCHINPUT | |
| public static TOUCHINPUT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static TOUCHINPUT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static TOUCHINPUT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static TOUCHINPUT | |
| public static TOUCHINPUT | |
| public static TOUCHINPUT. | |
| public static TOUCHINPUT. | |
| protected TOUCHINPUT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static TOUCHINPUT | |
| public static TOUCHINPUT | |
| public static TOUCHINPUT. | create(int
the buffer capacity capacity)Returns a new |
| public static TOUCHINPUT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static TOUCHINPUT | |
| public static TOUCHINPUT. | |
| public int | cxContact()
the width of the touch contact area in hundredths of a pixel in physical screen coordinates. |
| public int | cyContact()
the height of the touch contact area in hundredths of a pixel in physical screen coordinates. |
| public long | |
| public int | |
| public int | |
| public int | dwMask()
a set of bit flags that specify which of the optional fields in the structure contain valid values. |
| public int | |
| public long | |
| public static TOUCHINPUT | |
| public static TOUCHINPUT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static TOUCHINPUT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static TOUCHINPUT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static TOUCHINPUT | |
| public static TOUCHINPUT | |
| public static TOUCHINPUT. | |
| public static TOUCHINPUT. | |
| public static int | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CXCONTACT | back to summary |
|---|---|
| public static final int CXCONTACT The struct member offsets. | |
| CYCONTACT | back to summary |
|---|---|
| public static final int CYCONTACT The struct member offsets. | |
| DWEXTRAINFO | back to summary |
|---|---|
| public static final int DWEXTRAINFO The struct member offsets. | |
| DWFLAGS | back to summary |
|---|---|
| public static final int DWFLAGS The struct member offsets. | |
| DWID | back to summary |
|---|---|
| public static final int DWID The struct member offsets. | |
| DWMASK | back to summary |
|---|---|
| public static final int DWMASK The struct member offsets. | |
| DWTIME | back to summary |
|---|---|
| public static final int DWTIME The struct member offsets. | |
| HSOURCE | back to summary |
|---|---|
| public static final int HSOURCE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| X | back to summary |
|---|---|
| public static final int X The struct member offsets. | |
| Y | back to summary |
|---|---|
| public static final int Y The struct member offsets. | |
| TOUCHINPUT | back to summary |
|---|---|
| protected TOUCHINPUT(long address, ByteBuffer container) | |
| TOUCHINPUT | back to summary |
|---|---|
| public TOUCHINPUT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static TOUCHINPUT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static TOUCHINPUT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static TOUCHINPUT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static TOUCHINPUT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static TOUCHINPUT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static TOUCHINPUT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static TOUCHINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static TOUCHINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected TOUCHINPUT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static TOUCHINPUT create() Returns a new | |
| create | back to summary |
|---|---|
| public static TOUCHINPUT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static TOUCHINPUT. Returns a new
| |
| create | back to summary |
|---|---|
| public static TOUCHINPUT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static TOUCHINPUT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static TOUCHINPUT. Like
| |
| cxContact | back to summary |
|---|---|
| public int cxContact() the width of the touch contact area in hundredths of a pixel in physical screen coordinates. This value is only valid if the
| |
| cyContact | back to summary |
|---|---|
| public int cyContact() the height of the touch contact area in hundredths of a pixel in physical screen coordinates. This value is only valid if the
| |
| dwExtraInfo | back to summary |
|---|---|
| public long dwExtraInfo() an additional value associated with the touch event.
| |
| dwFlags | back to summary |
|---|---|
| public int dwFlags() a set of bit flags that specify various aspects of touch point press, release, and motion. The bits in this member can be any reasonable combination of the values in the Remarks section.
| |
| dwID | back to summary |
|---|---|
| public int dwID() a touch point identifier that distinguishes a particular touch input. This value stays consistent in a touch contact sequence from the point a contact comes down until it comes back up. An ID may be reused later for subsequent contacts.
| |
| dwMask | back to summary |
|---|---|
| public int dwMask() a set of bit flags that specify which of the optional fields in the structure contain valid values. The availability of valid information in the
optional fields is device-specific. Applications should use an optional field value only when the corresponding bit is set in
| |
| dwTime | back to summary |
|---|---|
| public int dwTime() the time stamp for the event, in milliseconds. The consuming application should note that the system performs no validation on this field; when the
| |
| hSource | back to summary |
|---|---|
| public long hSource() a device handle for the source input device. Each device is given a unique provider at run time by the touch input provider.
| |
| malloc | back to summary |
|---|---|
| public static TOUCHINPUT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static TOUCHINPUT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static TOUCHINPUT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static TOUCHINPUT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static TOUCHINPUT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static TOUCHINPUT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static TOUCHINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static TOUCHINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ncxContact | back to summary |
|---|---|
| public static int ncxContact(long struct) Unsafe version of | |
| ncyContact | back to summary |
|---|---|
| public static int ncyContact(long struct) Unsafe version of | |
| ndwExtraInfo | back to summary |
|---|---|
| public static long ndwExtraInfo(long struct) Unsafe version of | |
| ndwFlags | back to summary |
|---|---|
| public static int ndwFlags(long struct) Unsafe version of | |
| ndwID | back to summary |
|---|---|
| public static int ndwID(long struct) Unsafe version of | |
| ndwMask | back to summary |
|---|---|
| public static int ndwMask(long struct) Unsafe version of | |
| ndwTime | back to summary |
|---|---|
| public static int ndwTime(long struct) Unsafe version of | |
| nhSource | back to summary |
|---|---|
| public static long nhSource(long struct) Unsafe version of | |
| nx | back to summary |
|---|---|
| public static int nx(long struct) Unsafe version of | |
| ny | back to summary |
|---|---|
| public static int ny(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| x | back to summary |
|---|---|
| public int x() the x-coordinate (horizontal point) of the touch input. This member is indicated in hundredths of a pixel of physical screen coordinates.
| |
| y | back to summary |
|---|---|
| public int y() the y-coordinate (vertical point) of the touch input. This member is indicated in hundredths of a pixel of physical screen coordinates.
| |
TOUCHINPUT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final TOUCHINPUT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public long | |
| public int | |
| public int | |
| public int | |
| public int | |
| protected TOUCHINPUT | |
| public long | |
| protected TOUCHINPUT. | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final TOUCHINPUT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| cxContact | back to summary |
|---|---|
public int cxContact()
| |
| cyContact | back to summary |
|---|---|
public int cyContact()
| |
| dwExtraInfo | back to summary |
|---|---|
public long dwExtraInfo()
| |
| dwFlags | back to summary |
|---|---|
public int dwFlags()
| |
| dwID | back to summary |
|---|---|
public int dwID()
| |
| dwMask | back to summary |
|---|---|
public int dwMask()
| |
| dwTime | back to summary |
|---|---|
public int dwTime()
| |
| getElementFactory | back to summary |
|---|---|
| protected TOUCHINPUT getElementFactory() Implements abstract org.
| |
| hSource | back to summary |
|---|---|
public long hSource()
| |
| self | back to summary |
|---|---|
| protected TOUCHINPUT. Implements abstract org.
| |
| x | back to summary |
|---|---|
public int x()
| |
| y | back to summary |
|---|---|
public int y()
| |