org.rococoa.cocoa.iokit
Class evioSpecialKeyMsg

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by 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.


Nested Class Summary
static class evioSpecialKeyMsg.ByReference
           
static class evioSpecialKeyMsg.ByValue
           
 
Field Summary
 int direction
           
 int flags
           
 int key
           
 int level
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
evioSpecialKeyMsg()
           
evioSpecialKeyMsg(int key, int direction, int flags, int level)
           
 
Method Summary
 evioSpecialKeyMsg.ByReference byReference()
           
 evioSpecialKeyMsg.ByValue byValue()
           
 evioSpecialKeyMsg clone()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public int key

direction

public int direction

flags

public int flags

level

public int level
Constructor Detail

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
Method Detail

byReference

public evioSpecialKeyMsg.ByReference byReference()

byValue

public evioSpecialKeyMsg.ByValue byValue()

clone

public evioSpecialKeyMsg clone()
Overrides:
clone in class Object