publish
This commit is contained in:
parent
f38388896d
commit
2f62a1a123
67 changed files with 4545 additions and 0 deletions
43
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScAdvSens.java
Normal file
43
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScAdvSens.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScAdvSens implements Cloneable {
|
||||
public int mXSens;
|
||||
|
||||
public int mYSens;
|
||||
|
||||
public int mZSens;
|
||||
|
||||
public int mASens;
|
||||
|
||||
public int mBSens;
|
||||
|
||||
public int mCSens;
|
||||
|
||||
public ScAdvSens clone() {
|
||||
try {
|
||||
return (ScAdvSens)super.clone();
|
||||
} catch (CloneNotSupportedException cloneNotSupportedException) {
|
||||
cloneNotSupportedException.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void setToDefaults() {
|
||||
this.mXSens = 7;
|
||||
this.mYSens = 7;
|
||||
this.mZSens = 7;
|
||||
this.mASens = 7;
|
||||
this.mBSens = 7;
|
||||
this.mCSens = 7;
|
||||
}
|
||||
|
||||
public String convToString() {
|
||||
return "ScAdvSens:\n" + Util.convToString(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScAdvSens.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,147 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScAdvancedSettings implements Cloneable {
|
||||
public ScAdvSens mSens = new ScAdvSens();
|
||||
|
||||
public boolean mIsX;
|
||||
|
||||
public boolean mIsY;
|
||||
|
||||
public boolean mIsZ;
|
||||
|
||||
public boolean mIsXRev;
|
||||
|
||||
public boolean mIsYRev;
|
||||
|
||||
public boolean mIsZRev;
|
||||
|
||||
public int mXRemap;
|
||||
|
||||
public int mYRemap;
|
||||
|
||||
public int mZRemap;
|
||||
|
||||
public boolean mIsA;
|
||||
|
||||
public boolean mIsB;
|
||||
|
||||
public boolean mIsC;
|
||||
|
||||
public boolean mIsARev;
|
||||
|
||||
public boolean mIsBRev;
|
||||
|
||||
public boolean mIsCRev;
|
||||
|
||||
public int mARemap;
|
||||
|
||||
public int mBRemap;
|
||||
|
||||
public int mCRemap;
|
||||
|
||||
public int mMouseDirX;
|
||||
|
||||
public int mMouseDirY;
|
||||
|
||||
public int mMouseDirZ;
|
||||
|
||||
public int mMouseDirA;
|
||||
|
||||
public int mMouseDirB;
|
||||
|
||||
public int mMouseDirC;
|
||||
|
||||
public boolean mIsMouseMove;
|
||||
|
||||
public boolean mIsMouseToRestore;
|
||||
|
||||
public boolean mIsMouseAbs;
|
||||
|
||||
public int mSendDelay;
|
||||
|
||||
public int mAverageNum;
|
||||
|
||||
public boolean mIsRemap;
|
||||
|
||||
public short mTraLmBnd;
|
||||
|
||||
public short mTraMhBnd;
|
||||
|
||||
public short mRotLmBnd;
|
||||
|
||||
public short mRotMhBnd;
|
||||
|
||||
public boolean mIsToSendToFgWin;
|
||||
|
||||
public boolean mIsSpcFuncToSend;
|
||||
|
||||
public boolean mIsWheelAssShown;
|
||||
|
||||
public boolean mIsWsFuncToSend;
|
||||
|
||||
public boolean mIsCapFuncToSend;
|
||||
|
||||
public boolean mAreChangesToSend;
|
||||
|
||||
public int mBrightnessRed;
|
||||
|
||||
public int mBrightnessGreen;
|
||||
|
||||
public boolean mAreDevLights;
|
||||
|
||||
public int mRotCenterMode;
|
||||
|
||||
public int mMoveMode;
|
||||
|
||||
public boolean mIsRightHandMode;
|
||||
|
||||
public boolean mIsClock;
|
||||
|
||||
public boolean mIsAutoFit;
|
||||
|
||||
public int mLanguage;
|
||||
|
||||
public int mPicture;
|
||||
|
||||
public static final int OBJ_SCREEN = 0;
|
||||
|
||||
public static final int OBJ_ORIGIN = 1;
|
||||
|
||||
public static final int CAM_STANDARD = 2;
|
||||
|
||||
public static final int CAM_TARGET = 3;
|
||||
|
||||
public static final int CAM_HOVER = 4;
|
||||
|
||||
public static final int DF = 0;
|
||||
|
||||
public static final int EN = 1;
|
||||
|
||||
public static final int DE = 2;
|
||||
|
||||
public static final int FR = 3;
|
||||
|
||||
public ScAdvancedSettings clone() {
|
||||
try {
|
||||
ScAdvancedSettings scAdvancedSettings = (ScAdvancedSettings)super.clone();
|
||||
scAdvancedSettings.mSens = this.mSens.clone();
|
||||
return scAdvancedSettings;
|
||||
} catch (CloneNotSupportedException cloneNotSupportedException) {
|
||||
cloneNotSupportedException.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public String convToString() {
|
||||
StringBuffer stringBuffer = new StringBuffer("ScAdvancedSettings:\n");
|
||||
stringBuffer.append(this.mSens.convToString());
|
||||
stringBuffer.append(Util.convToString(this));
|
||||
return stringBuffer.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScAdvancedSettings.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScApplNotFoundEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScApplNotFoundEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,34 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScBasicSettings implements Cloneable {
|
||||
public boolean mIsDom;
|
||||
|
||||
public int mTraSens;
|
||||
|
||||
public int mRotSens;
|
||||
|
||||
public int mNullRadius;
|
||||
|
||||
public int mBrightnessBlue;
|
||||
|
||||
public int mBrightnessDspl;
|
||||
|
||||
public ScBasicSettings clone() {
|
||||
try {
|
||||
return (ScBasicSettings)super.clone();
|
||||
} catch (CloneNotSupportedException cloneNotSupportedException) {
|
||||
cloneNotSupportedException.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public String convToString() {
|
||||
return "ScBasicSettings:\n" + Util.convToString(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScBasicSettings.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScComErrEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScComErrEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
26
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScDevInfo.java
Normal file
26
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScDevInfo.java
Normal file
|
@ -0,0 +1,26 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ScDevInfo implements Cloneable, Serializable {
|
||||
public int mId;
|
||||
|
||||
public String mSerialNo;
|
||||
|
||||
public String mDescrptn;
|
||||
|
||||
public ScDevInfo clone() {
|
||||
try {
|
||||
return (ScDevInfo)super.clone();
|
||||
} catch (CloneNotSupportedException cloneNotSupportedException) {
|
||||
cloneNotSupportedException.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScDevInfo.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
164
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScDevPars.java
Normal file
164
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScDevPars.java
Normal file
|
@ -0,0 +1,164 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ScDevPars implements Cloneable, Serializable {
|
||||
public static final short INACTIVE = 0;
|
||||
|
||||
public static final short SAVE_SETTINGS = 3;
|
||||
|
||||
public static final short TOGGLE_HOVER = 7;
|
||||
|
||||
public static final short TOGGLE_DEV_LIGHTS = 11;
|
||||
|
||||
public static final short TOGGLE_RIGHT_HAND_MODE = 12;
|
||||
|
||||
public static final short INCR_SENS = 13;
|
||||
|
||||
public static final short DECR_SENS = 14;
|
||||
|
||||
public static final short INCR_THRESH = 15;
|
||||
|
||||
public static final short DECR_THRESH = 16;
|
||||
|
||||
public static final short INCR_LCD = 17;
|
||||
|
||||
public static final short DECR_LCD = 18;
|
||||
|
||||
public static final short INCR_LEDS = 19;
|
||||
|
||||
public static final short DECR_LEDS = 20;
|
||||
|
||||
public static final short WHEEL_TO_SENS = 21;
|
||||
|
||||
public static final short WHEEL_TO_THRESH = 22;
|
||||
|
||||
public static final short WHEEL_TO_LCD = 23;
|
||||
|
||||
public static final short WHEEL_TO_LEDS = 24;
|
||||
|
||||
public static final short WHEEL_TO_WFL = 25;
|
||||
|
||||
public static final short WHEEL_TO_GESTURES = 26;
|
||||
|
||||
public static final short WHEEL_TO_FNC_KEYS = 27;
|
||||
|
||||
public static final short HNDL_SENS_DLG = 28;
|
||||
|
||||
public static final short HNDL_THRESH_DLG = 29;
|
||||
|
||||
public static final short HNDL_LCD_DLG = 30;
|
||||
|
||||
public static final short HNDL_LEDS_DLG = 31;
|
||||
|
||||
public static final short HNDL_WFL_DLG = 32;
|
||||
|
||||
public static final short HNDL_WHEEL_GESTURES = 33;
|
||||
|
||||
public static final short HNDL_FNC_KEYS = 34;
|
||||
|
||||
public static final short CTRL = 35;
|
||||
|
||||
public static final short ALT = 36;
|
||||
|
||||
public static final short SHIFT = 37;
|
||||
|
||||
public static final short ESC = 38;
|
||||
|
||||
public static final short PANEL = 44;
|
||||
|
||||
public static final short HNDL_CALC_DLG = 45;
|
||||
|
||||
public static final short SWITCH_KEY_SHIFT_LEVEL = 46;
|
||||
|
||||
public static final short BACK = 47;
|
||||
|
||||
public static final short LEFT = 48;
|
||||
|
||||
public static final short BOTTOM = 49;
|
||||
|
||||
public static final short RESERVED_9 = 55;
|
||||
|
||||
public static final short MOUSE_BUT_LEFT = 56;
|
||||
|
||||
public static final short MOUSE_BUT_MID = 57;
|
||||
|
||||
public static final short MOUSE_BUT_RIGHT = 58;
|
||||
|
||||
public static final short MOUSE_WHEEL_UP = 59;
|
||||
|
||||
public static final short MOUSE_WHEEL_DOWN = 60;
|
||||
|
||||
public static final short JOY_BUT = 68;
|
||||
|
||||
public static final short LOAD_CFG_1 = 72;
|
||||
|
||||
public static final short LOAD_CFG_3 = 74;
|
||||
|
||||
public static final int MAX_FUNC_NUM = 140;
|
||||
|
||||
public static final int MAX_FILE_NAME_LEN = 256;
|
||||
|
||||
public int mSysFuncNum;
|
||||
|
||||
public int mExecApplLoadCfgNum;
|
||||
|
||||
public String mName;
|
||||
|
||||
public String mFileName;
|
||||
|
||||
public ScBasicSettings mBs = new ScBasicSettings();
|
||||
|
||||
public ScAdvancedSettings mAs = new ScAdvancedSettings();
|
||||
|
||||
public ScKeyAssignment mKa = new ScKeyAssignment();
|
||||
|
||||
public ScFunc[] mFuncList = new ScFunc[140];
|
||||
|
||||
public ScDevPars() {
|
||||
for (int i = 0; i < 140; i++)
|
||||
this.mFuncList[i] = new ScFunc("", "");
|
||||
}
|
||||
|
||||
public ScDevPars clone() {
|
||||
try {
|
||||
ScDevPars scDevPars = (ScDevPars)super.clone();
|
||||
scDevPars.mBs = this.mBs.clone();
|
||||
scDevPars.mAs = this.mAs.clone();
|
||||
scDevPars.mKa = this.mKa.clone();
|
||||
scDevPars.mFuncList = (ScFunc[])this.mFuncList.clone();
|
||||
for (int i = 0; i < 140; i++)
|
||||
scDevPars.mFuncList[i] = this.mFuncList[i].clone();
|
||||
return scDevPars;
|
||||
} catch (CloneNotSupportedException cloneNotSupportedException) {
|
||||
cloneNotSupportedException.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public String convToString() {
|
||||
StringBuffer stringBuffer = new StringBuffer(Util.convToString(this));
|
||||
stringBuffer.append(this.mBs.convToString());
|
||||
stringBuffer.append(this.mAs.convToString());
|
||||
stringBuffer.append(this.mKa.convToString());
|
||||
for (int i = 0; i < 140; i++)
|
||||
stringBuffer.append(this.mFuncList[i].convToString());
|
||||
return stringBuffer.toString();
|
||||
}
|
||||
|
||||
public boolean areWheelGesturesActive() {
|
||||
short s1 = this.mKa.mWheelLeft;
|
||||
short s2 = this.mKa.mWheelRight;
|
||||
return areWheelGesturesActive(s1, s2);
|
||||
}
|
||||
|
||||
public static boolean areWheelGesturesActive(int paramInt1, int paramInt2) {
|
||||
return (paramInt1 == 33 && paramInt2 == 33);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScDevPars.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
1028
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScDllWrapper.java
Normal file
1028
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScDllWrapper.java
Normal file
File diff suppressed because it is too large
Load diff
9
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScEx.java
Normal file
9
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScEx.java
Normal file
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScEx extends Exception {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScExecCmdErrEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScExecCmdErrEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScFileIoEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScFileIoEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
37
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScFunc.java
Normal file
37
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScFunc.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScFunc implements Cloneable {
|
||||
public static final int MAX_FUNC_NAME_LEN = 32;
|
||||
|
||||
public static final int MAX_FUNC_LEN = 256;
|
||||
|
||||
public int mIdx;
|
||||
|
||||
public String mName;
|
||||
|
||||
public String mFunc;
|
||||
|
||||
public ScFunc(String paramString1, String paramString2) {
|
||||
this.mName = paramString1;
|
||||
this.mFunc = paramString2;
|
||||
}
|
||||
|
||||
public ScFunc clone() {
|
||||
try {
|
||||
return (ScFunc)super.clone();
|
||||
} catch (CloneNotSupportedException cloneNotSupportedException) {
|
||||
cloneNotSupportedException.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public String convToString() {
|
||||
return this.mName + ": " + this.mFunc + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScFunc.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,208 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScKeyAssignment implements Cloneable {
|
||||
public static final int MAX_WHEEL_SLOTS_NUM = 28;
|
||||
|
||||
public short m1;
|
||||
|
||||
public short m2;
|
||||
|
||||
public short m3;
|
||||
|
||||
public short m4;
|
||||
|
||||
public short m5;
|
||||
|
||||
public short m6;
|
||||
|
||||
public short mCtrl;
|
||||
|
||||
public short mAlt;
|
||||
|
||||
public short mShift;
|
||||
|
||||
public short mEsc;
|
||||
|
||||
public short mFront;
|
||||
|
||||
public short mRight;
|
||||
|
||||
public short mTop;
|
||||
|
||||
public short mFit;
|
||||
|
||||
public short m2D3D;
|
||||
|
||||
public short mPanel;
|
||||
|
||||
public short mMenue;
|
||||
|
||||
public short m1B;
|
||||
|
||||
public short m2B;
|
||||
|
||||
public short m3B;
|
||||
|
||||
public short m4B;
|
||||
|
||||
public short m5B;
|
||||
|
||||
public short m6B;
|
||||
|
||||
public short mCtrlB;
|
||||
|
||||
public short mAltB;
|
||||
|
||||
public short mShiftB;
|
||||
|
||||
public short mEscB;
|
||||
|
||||
public short mFrontB;
|
||||
|
||||
public short mRightB;
|
||||
|
||||
public short mTopB;
|
||||
|
||||
public short mFitB;
|
||||
|
||||
public short m2D3DB;
|
||||
|
||||
public short mPanelB;
|
||||
|
||||
public short mMenueB;
|
||||
|
||||
public short mWheelLeft;
|
||||
|
||||
public short mWheelRight;
|
||||
|
||||
public short mWheelL;
|
||||
|
||||
public short mWheelR;
|
||||
|
||||
public short mWheelLr;
|
||||
|
||||
public short mWheelRl;
|
||||
|
||||
public short mWheelLrl;
|
||||
|
||||
public short mWheelRlr;
|
||||
|
||||
public short mWheelLl;
|
||||
|
||||
public short mWheelRr;
|
||||
|
||||
public short[] mWheelSlot = new short[28];
|
||||
|
||||
public short mXll;
|
||||
|
||||
public short mXlm;
|
||||
|
||||
public short mXlh;
|
||||
|
||||
public short mXrl;
|
||||
|
||||
public short mXrm;
|
||||
|
||||
public short mXrh;
|
||||
|
||||
public short mYdl;
|
||||
|
||||
public short mYdm;
|
||||
|
||||
public short mYdh;
|
||||
|
||||
public short mYul;
|
||||
|
||||
public short mYum;
|
||||
|
||||
public short mYuh;
|
||||
|
||||
public short mZfl;
|
||||
|
||||
public short mZfm;
|
||||
|
||||
public short mZfh;
|
||||
|
||||
public short mZbl;
|
||||
|
||||
public short mZbm;
|
||||
|
||||
public short mZbh;
|
||||
|
||||
public short mAnyTraL;
|
||||
|
||||
public short mAnyTraM;
|
||||
|
||||
public short mAnyTraH;
|
||||
|
||||
public short mArl;
|
||||
|
||||
public short mArm;
|
||||
|
||||
public short mArh;
|
||||
|
||||
public short mAll;
|
||||
|
||||
public short mAlm;
|
||||
|
||||
public short mAlh;
|
||||
|
||||
public short mBrl;
|
||||
|
||||
public short mBrm;
|
||||
|
||||
public short mBrh;
|
||||
|
||||
public short mBll;
|
||||
|
||||
public short mBlm;
|
||||
|
||||
public short mBlh;
|
||||
|
||||
public short mCrl;
|
||||
|
||||
public short mCrm;
|
||||
|
||||
public short mCrh;
|
||||
|
||||
public short mCll;
|
||||
|
||||
public short mClm;
|
||||
|
||||
public short mClh;
|
||||
|
||||
public short mAnyRotL;
|
||||
|
||||
public short mAnyRotM;
|
||||
|
||||
public short mAnyRotH;
|
||||
|
||||
public short mAnyL;
|
||||
|
||||
public short mAnyM;
|
||||
|
||||
public short mAnyH;
|
||||
|
||||
public short mAnyStarted;
|
||||
|
||||
public short mAnyStopped;
|
||||
|
||||
public ScKeyAssignment clone() {
|
||||
try {
|
||||
return (ScKeyAssignment)super.clone();
|
||||
} catch (CloneNotSupportedException cloneNotSupportedException) {
|
||||
cloneNotSupportedException.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public String convToString() {
|
||||
return "ScKeyAssignment:\n" + Util.convToString(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScKeyAssignment.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScKeystrokeEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScKeystrokeEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
35
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScLogPars.java
Normal file
35
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScLogPars.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScLogPars {
|
||||
public String mLogFile = "default_log.txt";
|
||||
|
||||
public int mMaxSize = 500;
|
||||
|
||||
public boolean mIsLogToFile = false;
|
||||
|
||||
public boolean mIsLogToCnsl = false;
|
||||
|
||||
public boolean mIsWrn = false;
|
||||
|
||||
public boolean mIsCrt = false;
|
||||
|
||||
public boolean mIsTrc = false;
|
||||
|
||||
public boolean mIsDcm = false;
|
||||
|
||||
public boolean mIsIcm = false;
|
||||
|
||||
public boolean mIsInf = false;
|
||||
|
||||
public boolean mIsDbg = false;
|
||||
|
||||
public boolean mIsTmp = false;
|
||||
|
||||
public String mExclFileToLog = "";
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScLogPars.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScNotSupportedEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScNotSupportedEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,17 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScOneBoolean {
|
||||
public boolean mVal;
|
||||
|
||||
public ScOneBoolean() {}
|
||||
|
||||
public ScOneBoolean(boolean paramBoolean) {
|
||||
this.mVal = paramBoolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScOneBoolean.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
15
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScOneByte.java
Normal file
15
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScOneByte.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScOneByte {
|
||||
public byte mVal = 0;
|
||||
|
||||
public ScOneByte() {}
|
||||
|
||||
public ScOneByte(byte paramByte) {}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScOneByte.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
15
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScOneInt.java
Normal file
15
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScOneInt.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScOneInt {
|
||||
public int mVal = 0;
|
||||
|
||||
public ScOneInt() {}
|
||||
|
||||
public ScOneInt(int paramInt) {}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScOneInt.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,17 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScOneString {
|
||||
public String mVal;
|
||||
|
||||
public ScOneString() {}
|
||||
|
||||
public ScOneString(String paramString) {
|
||||
this.mVal = paramString;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScOneString.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScParOutOfRangeEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScParOutOfRangeEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScRegistryEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScRegistryEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
11
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScStatus.java
Normal file
11
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScStatus.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public enum ScStatus {
|
||||
SC_OK, SC_COMMUNICATION_ERROR, SC_WRONG_DEVICE_INDEX, SC_PARAMETER_OUT_OF_RANGE, SC_FILE_IO_ERROR, SC_KEYSTROKE_ERROR, SC_APPL_NOT_FOUND, SC_REGISTRY_ERROR, SC_NOT_SUPPORTED, SC_EXEC_CMD_ERROR, SC_THREAD_ERROR, SC_WRONG_USER, SC_ERR_END;
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScStatus.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
31
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScStdData.java
Normal file
31
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScStdData.java
Normal file
|
@ -0,0 +1,31 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScStdData {
|
||||
public short mX;
|
||||
|
||||
public short mY;
|
||||
|
||||
public short mZ;
|
||||
|
||||
public short mA;
|
||||
|
||||
public short mB;
|
||||
|
||||
public short mC;
|
||||
|
||||
public int mTraLmh;
|
||||
|
||||
public int mRotLmh;
|
||||
|
||||
public int mEvent;
|
||||
|
||||
public int mTvSec;
|
||||
|
||||
public int mTvUsec;
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScStdData.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScThreadErrEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScThreadErrEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,19 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScThreeInts {
|
||||
public int mVal1 = 0;
|
||||
|
||||
public int mVal2 = 0;
|
||||
|
||||
public int mVal3 = 0;
|
||||
|
||||
public ScThreeInts() {}
|
||||
|
||||
public ScThreeInts(int paramInt1, int paramInt2, int paramInt3) {}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScThreeInts.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,23 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScThreeStrings {
|
||||
public String mVal1;
|
||||
|
||||
public String mVal2;
|
||||
|
||||
public String mVal3;
|
||||
|
||||
public ScThreeStrings() {}
|
||||
|
||||
public ScThreeStrings(String paramString1, String paramString2, String paramString3) {
|
||||
this.mVal1 = paramString1;
|
||||
this.mVal2 = paramString2;
|
||||
this.mVal3 = paramString3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScThreeStrings.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
17
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScTwoInts.java
Normal file
17
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/ScTwoInts.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScTwoInts {
|
||||
public int mVal1 = 0;
|
||||
|
||||
public int mVal2 = 0;
|
||||
|
||||
public ScTwoInts() {}
|
||||
|
||||
public ScTwoInts(int paramInt1, int paramInt2) {}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScTwoInts.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,20 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScTwoStrings {
|
||||
public String mVal1;
|
||||
|
||||
public String mVal2;
|
||||
|
||||
public ScTwoStrings() {}
|
||||
|
||||
public ScTwoStrings(String paramString1, String paramString2) {
|
||||
this.mVal1 = paramString1;
|
||||
this.mVal2 = paramString2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScTwoStrings.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScWrongDevIdxEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScWrongDevIdxEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
public class ScWrongUserEx extends ScEx {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/ScWrongUserEx.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
65
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/Util.java
Normal file
65
SC_DLL_Wrapper/de/spacecontrol/sc/dllwrapper/Util.java
Normal file
|
@ -0,0 +1,65 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
public class Util {
|
||||
public static void copy(Object paramObject1, Object paramObject2) {
|
||||
Class<?> clazz1 = paramObject1.getClass();
|
||||
Class<?> clazz2 = paramObject2.getClass();
|
||||
String str1 = clazz1.getName();
|
||||
String str2 = clazz2.getName();
|
||||
Field[] arrayOfField = clazz1.getDeclaredFields();
|
||||
if (!str1.equals(str2))
|
||||
throw new IllegalArgumentException();
|
||||
for (int i = 0; i < arrayOfField.length; i++) {
|
||||
Field field = arrayOfField[i];
|
||||
Class<?> clazz = field.getType();
|
||||
String str = clazz.toString();
|
||||
try {
|
||||
if (str.equals("boolean")) {
|
||||
field.setBoolean(paramObject2, field.getBoolean(paramObject1));
|
||||
} else if (str.equals("int")) {
|
||||
field.setInt(paramObject2, field.getInt(paramObject1));
|
||||
} else {
|
||||
System.out.println("unknown type");
|
||||
}
|
||||
} catch (IllegalArgumentException illegalArgumentException) {
|
||||
illegalArgumentException.printStackTrace();
|
||||
} catch (IllegalAccessException illegalAccessException) {
|
||||
illegalAccessException.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String convToString(Object paramObject) {
|
||||
StringBuffer stringBuffer = new StringBuffer("");
|
||||
Class<?> clazz = paramObject.getClass();
|
||||
Field[] arrayOfField = clazz.getDeclaredFields();
|
||||
for (int i = 0; i < arrayOfField.length; i++) {
|
||||
Field field = arrayOfField[i];
|
||||
Class<?> clazz1 = field.getType();
|
||||
String str1 = clazz1.toString();
|
||||
int j = str1.lastIndexOf('.');
|
||||
str1 = str1.substring(j + 1);
|
||||
String str2 = String.format("%20s", new Object[] { str1 });
|
||||
stringBuffer.append(str2);
|
||||
stringBuffer.append(' ');
|
||||
stringBuffer.append(String.format("%16s", new Object[] { field.getName() }));
|
||||
stringBuffer.append(" = ");
|
||||
try {
|
||||
stringBuffer.append(field.get(paramObject).toString() + "\n");
|
||||
} catch (IllegalArgumentException illegalArgumentException) {
|
||||
illegalArgumentException.printStackTrace();
|
||||
} catch (IllegalAccessException illegalAccessException) {
|
||||
illegalAccessException.printStackTrace();
|
||||
}
|
||||
}
|
||||
return stringBuffer.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/Util.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
|
@ -0,0 +1,9 @@
|
|||
package de.spacecontrol.sc.dllwrapper;
|
||||
|
||||
interface package-info {}
|
||||
|
||||
|
||||
/* Location: /opt/SpaceControl/lib/SC_DLL_Wrapper.jar!/de/spacecontrol/sc/dllwrapper/package-info.class
|
||||
* Java compiler version: 5 (49.0)
|
||||
* JD-Core Version: 1.2.1
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue