jinput-arm64/plugins/OSX/src/java/net/java/games/input/InputControllerElement.java
gregorypierce c88f6ab0c6 no message
2003-08-07 18:28:18 +00:00

196 lines
4 KiB
Java

package net.java.games.input;
/**
* Created by IntelliJ IDEA.
* User: gpierce
* Date: Aug 2, 2003
* Time: 2:59:26 PM
* To change this template use Options | File Templates.
*/
public class InputControllerElement
{
private long hidCookie;
private int elementType;
private int usagePage;
private int usage;
private int rawMin;
private int rawMax;
private int scaledMin;
private int scaledMax;
private int dataBitSize;
private boolean isRelative;
private boolean isWrapping;
private boolean isNonLinear;
private boolean hasPreferredState;
private boolean hasNullState;
public InputControllerElement()
{
}
public InputControllerElement(long hidCookie, int elementType, int usage, int usagePage,
int rawMin, int rawMax, int scaledMin, int scaledMax,
int dataBitSize, boolean isRelative, boolean isWrapping,
boolean isNonLinear, boolean hasPreferredState, boolean hasNullState )
{
this.hidCookie = hidCookie;
this.elementType = elementType;
this.usage = usage;
this.usagePage = usagePage;
this.rawMin = rawMin;
this.rawMax = rawMax;
this.scaledMin = scaledMin;
this.scaledMax = scaledMax;
this.dataBitSize = dataBitSize;
this.isRelative = isRelative;
this.isWrapping = isWrapping;
this.isNonLinear = isNonLinear;
this.hasPreferredState = hasPreferredState;
this.hasNullState = hasNullState;
}
public long getHidCookie()
{
return hidCookie;
}
public void setHidCookie(long hidCookie)
{
this.hidCookie = hidCookie;
}
public int getElementType()
{
return elementType;
}
public void setElementType(int elementType)
{
this.elementType = elementType;
}
public int getUsagePage()
{
return usagePage;
}
public void setUsagePage(int usagePage)
{
this.usagePage = usagePage;
}
public int getUsage()
{
return usage;
}
public void setUsage(int usage)
{
this.usage = usage;
}
public int getRawMin()
{
return rawMin;
}
public void setRawMin(int rawMin)
{
this.rawMin = rawMin;
}
public int getRawMax()
{
return rawMax;
}
public void setRawMax(int rawMax)
{
this.rawMax = rawMax;
}
public int getScaledMin()
{
return scaledMin;
}
public void setScaledMin(int scaledMin)
{
this.scaledMin = scaledMin;
}
public int getScaledMax()
{
return scaledMax;
}
public void setScaledMax(int scaledMax)
{
this.scaledMax = scaledMax;
}
public int getDataBitSize()
{
return dataBitSize;
}
public void setDataBitSize(int dataBitSize)
{
this.dataBitSize = dataBitSize;
}
public boolean isRelative()
{
return isRelative;
}
public void setRelative(boolean relative)
{
isRelative = relative;
}
public boolean isWrapping()
{
return isWrapping;
}
public void setWrapping(boolean wrapping)
{
isWrapping = wrapping;
}
public boolean isNonLinear()
{
return isNonLinear;
}
public void setNonLinear(boolean nonLinear)
{
isNonLinear = nonLinear;
}
public boolean isHasPreferredState()
{
return hasPreferredState;
}
public void setHasPreferredState(boolean hasPreferredState)
{
this.hasPreferredState = hasPreferredState;
}
public boolean isHasNullState()
{
return hasNullState;
}
public void setHasNullState(boolean hasNullState)
{
this.hasNullState = hasNullState;
}
}