org.rococoa.cocoa.iokit
Class evioSpecialKeyMsg
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.iokit.evioSpecialKeyMsg
- Direct Known Subclasses:
- evioSpecialKeyMsg.ByReference, evioSpecialKeyMsg.ByValue
public class evioSpecialKeyMsg
- extends com.ochafik.lang.jnaerator.runtime.Structure
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure |
setupClone |
Methods inherited from class com.sun.jna.Structure |
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
key
public int key
direction
public int direction
flags
public int flags
level
public int level
evioSpecialKeyMsg
public evioSpecialKeyMsg()
evioSpecialKeyMsg
public evioSpecialKeyMsg(int key,
int direction,
int flags,
int level)
- Parameters:
key
- special key number, from bsd/dev/ev_keymap.h
direction
- NX_KEYDOWN, NX_KEYUP from event.h
flags
- device independant flags from event.h
level
- EV_AUDIO_MIN_VOLUME to EV_AUDIO_MAX_VOLUME
byReference
public evioSpecialKeyMsg.ByReference byReference()
byValue
public evioSpecialKeyMsg.ByValue byValue()
clone
public evioSpecialKeyMsg clone()
- Overrides:
clone
in class Object