You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
package jopenvr;
|
|
import com.sun.jna.Pointer;
|
|
import com.sun.jna.Structure;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
/**
|
|
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
|
|
* a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
|
|
* For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> , <a href="http://rococoa.dev.java.net/">Rococoa</a>, or <a href="http://jna.dev.java.net/">JNA</a>.
|
|
*/
|
|
public class VRControllerAxis_t extends Structure {
|
|
public float x;
|
|
public float y;
|
|
public VRControllerAxis_t() {
|
|
super();
|
|
}
|
|
protected List<String> getFieldOrder() {
|
|
return Arrays.asList("x", "y");
|
|
}
|
|
public VRControllerAxis_t(float x, float y) {
|
|
super();
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
public VRControllerAxis_t(Pointer peer) {
|
|
super(peer);
|
|
}
|
|
public static class ByReference extends VRControllerAxis_t implements Structure.ByReference {
|
|
|
|
};
|
|
public static class ByValue extends VRControllerAxis_t implements Structure.ByValue {
|
|
|
|
};
|
|
}
|
|
|