All Downloads are FREE. Search and download functionalities are using the official Maven repository.

vr.VREvent_Scroll_t Maven / Gradle / Ivy

The newest version!
package vr;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;

/**
 * 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. * * used for simulated mouse wheel scroll in overlay space. */ public class VREvent_Scroll_t extends Structure { public float xdelta, ydelta; // movement in fraction of the pad traversed since last delta, 1.0 for a full swipe public int repeatCount; public VREvent_Scroll_t() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("xdelta", "ydelta", "repeatCount"); } public VREvent_Scroll_t(float xdelta, float ydelta, int repeatCount) { super(); this.xdelta = xdelta; this.ydelta = ydelta; this.repeatCount = repeatCount; } public VREvent_Scroll_t(Pointer peer) { super(peer); read(); } public static class ByReference extends VREvent_Scroll_t implements Structure.ByReference { }; public static class ByValue extends VREvent_Scroll_t implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy