This commit is contained in:
2014-10-18 17:43:25 +01:00
commit f45b3ebaf8
97 changed files with 7544 additions and 0 deletions

5
www/.cvsignore Normal file
View File

@@ -0,0 +1,5 @@
.nbattrs
*~
javadoc

BIN
www/hardcode.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

BIN
www/images/downloadj3d.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
www/images/getjavanow.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

18
www/index.htm Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta name="description" content="JXInput - gaming devices for Java">
<meta name="keywords" content="Java, DirectInput, Joystick, Gamepad, JNI">
<meta name="author" content="Joerg Plewe, Germany">
<title>JXInput - Gaming Input Devices (joystick/gamepad/DirectInput) for Java</title>
</head>
<frameset cols="160,*" frameborder=0 noresize >
<frame src="leftmenu.htm" name="leftmenu" frameborder=0 noresize >
<frame src="jxabout.htm" name="main" frameborder=0 noresize >
Joystick Java Gamepad DirectInput JNI
</html>

BIN
www/jnlp/JXInput.jar Normal file

Binary file not shown.

BIN
www/jnlp/JXInputKeystore Normal file

Binary file not shown.

BIN
www/jnlp/jxinput.dll Normal file

Binary file not shown.

BIN
www/jnlp/jxinputdll.jar Normal file

Binary file not shown.

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0"
codebase="http://www.hardcode.de/jxinput/jnlp"
href="jxinputtestdialog.jnlp">
<information>
<title>JXInput Test Dialog</title>
<vendor>HARDCODE Development</vendor>
<homepage href="http://www.hardcode.de/jxinput"/>
<description>Demonstration of JXInput</description>
<description kind="short">A Test Dialog</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.3+" />
<jar href="jxinput.jar" main="true"/>
</resources>
<resources os="Windows">
<nativelib href="jxinputdll.jar"/>
</resources>
<application-desc main-class="de.hardcode.jxinput.test.JXInputTestDialog"/>
</jnlp>

8
www/jnlp/sign.bat Normal file
View File

@@ -0,0 +1,8 @@
rem keytool -genkey -alias jxinput -keypass jxinput -keystore JXInputKeystore
set PATH=c:\j2sdk1.4.1\bin;%PATH%
copy /Y ..\..\Distribution\0.3\JXInput.jar .
copy /Y ..\..\Distribution\0.3\jxinput.dll .
jar cf jxinputdll.jar jxinput.dll
jarsigner -keystore JXInputKeystore -storepass jxinput -keypass jxinput JXInput.jar jxinput
jarsigner -keystore JXInputKeystore -storepass jxinput -keypass jxinput jxinputdll.jar jxinput

105
www/jxdownload.htm Normal file
View File

@@ -0,0 +1,105 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta name="description" content="JXInput - gaming devices for Java">
<meta name="keywords" content="Java, DirectInput, Joystick, Gamepad">
<meta name="author" content="Joerg Plewe, Germany">
<title>Download - Gaming Input Devices (joystick/gamepad/DirectInput) for Java</title>
</head>
<body text="#000000" bgcolor="#efefef">
<basefont face="Verdana">
<h1>Download and Installation</h1>
<p>
<p>
<h2><a name="prerequisits"></a>Prerequisits</h2>
<p>
In order to operate JXInput a Java Runtime Environment in version 1.3 or newer is needed.
To compile the sourcecode, a corresponding JDK is useful for the Java source codes. The C++
things have been developed with Microsoft Visual Studio 6.0.
The Java technology may be downloaded here:
<CENTER>
<!-- begin J2SE download box -->
<table cellpadding="1" cellspacing="0" border="0" bgcolor="#0055BB" width="200">
<tr><td>
<table cellpadding="4" cellspacing="0" border="0" bgcolor="#FFFFFF" width="100%">
<tr>
<td width="5">&nbsp;</td>
<td width="45"><a href="http://servlet.java.sun.com/logRedirect/frontpage-download-1.4-now/http://java.sun.com/j2se/1.4/download.html"><img src="images/download.j2se14.gif" border="0" width="45" height="42" alt="Download J2SE 1.4 Now!" /></a></td>
<td align="center"><strong><font size="-1"><a href="http://servlet.java.sun.com/logRedirect/frontpage-download-1.4-now/http://java.sun.com/j2se/1.4/download.html">Download<br>J2SE<sup><font size=-2>TM</font></sup> v1.4 Now!</a></font></strong></td>
</tr>
</table>
</td></tr>
</table>
<!-- end J2SE download box -->
<p>
<A HREF="http://java.sun.com/getjava/download.html">
<IMG height=70 alt="Get Java Runtime" src="images/getjavanow.gif" width=145 border=0></A>
<p>
<a href="http://www.java.sun.com/cgi-bin/javawebstart-platform.sh?">
<IMG height=71 alt="Get Java Web Start NOW!" src="images/dl-javawebstart3.jpg" width=168 border=0 ></a>
<p>
<a href="http://java.sun.com/products/java-media/3D/index.html">
<IMG height=34 alt="Get Java3D" src="images/downloadj3d.gif" width=88 border=0 ></a>
</CENTER>
<h2><a name="download"></a>Download distribution</h2>
<p>
While downloading the package you agree with my
<a href="jxlicense.htm">license agreement</a>.
<p>
<center>
<a href="../downloads/JXInputRT_0.3.3.zip"><STRONG>V0.3.3 runtime</STRONG></a>
<br>
<a href="../downloads/JXInputSRC_0.3.3.zip"><STRONG>V0.3.3 with source</STRONG></a>
</CENTER>
<p>
<h2><a name="installation"></a>Installation</h2>
In order to operate, JXInput needs only two files. There is the file JXInput.jar that contains
the compiled Java classes and JXInput.dll holding the native code.
<p>
JXInput.jar has to be part of your CLASSPATH, JXInput.dll has to be in a place where Windows is
able to find it. I prefer to have the DLL just in the directory where the application starts.
<p>
Place both files into one directory and double-click JXInput.jar. If your JRE is setup
correctly, this should start an dialog showing what your inputdevice is able to perform.
This is a good and easy test to find out wether everything is fine with JXInput.
<h2>Older versions:</H2>
<center>
<a href="../downloads/JXInputRT_0.2.0.zip"><STRONG>V0.2.0 runtime</STRONG></a>
<br>
<a href="../downloads/JXInputSRC_0.2.0.zip"><STRONG>V0.2.0 with source</STRONG></a>
</CENTER>
<p>
<CENTER>
<a href="../downloads/JXInputRT_0.1.0.zip"><STRONG>V0.1.0 runtime</STRONG></a>
<br>
<a href="../downloads/JXInputSRC_0.1.0.zip"><STRONG>V0.1.0 with source</STRONG></a>
</CENTER>
<p>
</body>
</html>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,49 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="description" content="JXInput - gaming devices for Java">
<meta name="keywords" content="Java, DirectInput, Joystick, Gamepad, JNI">
<meta name="author" content="Joerg Plewe, Germany">
<title>JXInput - Gaming Input Devices in space! (joystick/gamepad/DirectInput/Java)</title>
</head>
<body text="#000000" bgcolor="#efefef">
<basefont face="Verdana">
<p>
<h1>JXInput - now in space on the ISS!</h1>
<br>
<p>
JXInput found it's way to the <A href='http://www.shuttlepresskit.com/ISS_OVR/'>ISS (International Space
Station)</a>. There, it
allows a Java-written <a href='abstract.pdf'>simulation program</a> to connect to the custom input device
used by the astronauts to control the robot <a href='http://www.space.gc.ca/csa_sectors/human_presence/missions/sts-100/canadarm2/default.html'>
<em>Canadarm2</EM></a>.
<p>
<p>
<br>
<br>
<CENTER>
<IMG alt="the device" src="smp_hardware_components.jpg" border=0>
</CENTER>
<p>
<CENTER>
<IMG alt="simulation running" src="smp_simulation_running.jpg" border=0>
</CENTER>
<p>
<CENTER>
<IMG alt="from ISS presskit" src="canadarm2_training.jpg" border=0>
</CENTER>
<p>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

53
www/jxlicense.htm Normal file
View File

@@ -0,0 +1,53 @@
<html>
<head>
<title>JXInput - License Agreement</title>
<meta name="description" content="JXInput - gaming devices for Java">
<meta name="keywords" content="Java, DirectInput, Joystick, Gamepad, JNI">
<meta name="author" content="Joerg Plewe, Germany">
</head>
<body text="#000000" bgcolor="#efefef">
<basefont face="Verdana">
<p>
<h1>JXInput - License Agreement - Gaming Input Devices (joystick/gamepad/DirectInput) for Java</h1>
<p>
<strong>IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, DO NOT USE THIS SOFTWARE!</strong>
<p>
<p>
Software is copyrighted. JXInput software is the intellectual property of HARDCODE,
<a href="http://www.hardcode.de">http://www.hardcode.de</a>,
Dipl. Phys. Joerg Plewe, Muelheim, Germany. The author retains the copyright, title and ownership
of the provided software.
<p>
The provided software may be used and redistributed in non-commercial applications.
The right is limited to the current version of the software and does not include
the right to upgrades, updates or further developed versions.<br>
<p>
Commercial use of the provided software requires licensing. Licenses can be requested
by mail to <a href="mailto:jxinput@hardcode.de">jxinput@hardcode.de</a>.
<p>
You are not permitted to sell, lease, decompile or modify the JXInput module
provided in jxinput.jar/jxinput.dll without the permission of the author. All open code
(Java/C++ files) is public domain and can be used without any restrictions.<br>
<p>
JXInput SOFTWARE IS PROVIDED &quot;AS IS&quot; WITHOUT ANY WARRANTY OR LIABILITY.
THE ENTIRE RISK AS TO THE RESULTS OF THE USAGE OF THE SOFTWARE IS ASSUMED BY
YOU.
<p>
Conditions for redistribution of the provided software in non-commercial applications:
<ul>
<li>Redistribution is only permitted if the original and unmodified files jxinput.jar/jxinput.dll are supplied.</li>
<li>This license file is to be placed in the same folder as jxinput.jar. Should the
name of this file conflict with other files in the same folder, it can be
renamed to &quot;jxinput_lic.html&quot;.
</li>
<ul>
</p>
</body>
</html>

53
www/jxlinks.htm Normal file
View File

@@ -0,0 +1,53 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta name="description" content="JXInput - gaming devices for Java">
<meta name="keywords" content="Java, DirectInput, Joystick, Gamepad, JNI">
<meta name="author" content="Joerg Plewe, Germany">
<title>JXLinks - Gaming Input Devices (joystick/gamepad/DirectInput) for Java</title>
</head>
<body text="#000000" bgcolor="#efefef">
<basefont face="Verdana">
<h1>Links</h1>
<p>
<p>
<h2>Other input devices with Java</h2>
<ul>
<li><a href="http://www.j3d.de">http://www.j3d.de</a>
: Win32</li>
<li><a href="http://www.cyber.koganei.tokyo.jp/vr/device/joystick/java/index.html">http://www.cyber.koganei.tokyo.jp</a>
: simple, Win32</li>
<li><a href="http://sourceforge.net/projects/javajoystick/">http://sourceforge.net/projects/javajoystick</a>
: Win32</li>
<li><a href="http://sourceforge.net/projects/j3djoystick/">http://sourceforge.net/projects/j3djoystick</a>
: Java3D, Linux</li>
<li><a href="http://sourceforge.net/projects/sdl4java/">http://sourceforge.net/projects/sdl4java/</a>
: SDL wrapper for Win32 and Linux</li>
</ul>
<h2>Java related links</h2>
<ul>
<li><a href="http://www.java.sun.com">http://www.java.sun.com</a>
: Javas Home</li>
<li><a href="http://www.javagaming.org">http://www.javagaming.org</a>
: Java Game Development</li>
<li><a href="http://www.j3d.org">http://www.j3d.org</a>
: Java3D community page</li>
</ul>
</body>
</html>

98
www/jxversion.htm Normal file
View File

@@ -0,0 +1,98 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta name="description" content="JXInput - gaming devices for Java">
<meta name="keywords" content="Java, DirectInput, Joystick, Gamepad, JNI">
<meta name="author" content="Joerg Plewe, Germany">
<title>Version - Gaming Input Devices (joystick/gamepad/DirectInput) for Java</title>
</head>
<body text="#000000" bgcolor="#efefef">
<basefont face="Verdana">
<h1>Version</h1>
The current version of the package is V0.3.3.
<h2>How are the versions counted?</h2>
The goal of the development is version V1.0. V1.0 means the whole thing is
feature-complete, tested, documented. Additionally some people should have agreed
that the design is useful.
Meanwhile, the version number will increase in the first decimal whenever a
significant change in one of the interfaces occured or a new features is added.
For minor changes like bugfixes, non-code-breaking enhancements or additional
documentation, the second decimal will be counted.
<p>
A new version will be released as soon as it is implemented. That means that
versions like 0.X.0 may lack of samples or documentation.
<p>
<h2>History</h2>
<h3>V0.3: </h3>
<ul>
<li>JXInput gives access to the Swing keyboard interpreted as buttons.
<li>'Virtual' axes can be emulated with the help of buttons (e.g. from the keyboard).
</ul>
<h4>V0.3.1: </h4>
<ul>
<li><CODE>JXInputManager#createKeyboardDevice()</CODE> needs only <CODE>Component</CODE>
instead of <CODE>JComponent</CODE>.
<li>Online demo with <a href="http://www.java.sun.com/cgi-bin/javawebstart-platform.sh?">WebStart</a> .
<li>Bugfixes.
<li>Improved documentation.
</ul>
<h4>V0.3.2: </h4>
<ul>
<li>Bugfix: Z-axis now works correctly.
</ul>
<h4>V0.3.3: </h4>
<ul>
<li>Introduced overall reset()-method that allows to changes devices at
runtime.
<li>The type of virtual axes (TRANSLATIONAL, ROTATIONAL, SLIDER) can be set explicitely.
<li>Success story: JXInput used in <a href="jxinput_in_space">space</a>.
</ul>
<h3>V0.2: </h3>
<ul>
<li>Support of DirectX8.
</li>
<li>Support of multiple devices.
</li>
<li>Introduced eventing system (de.hardcode.jxinput.event).
</li>
<li>Support of Java3D sensoring interface (de.hardcode.jxinput.j3d).
</li></ul>
<h3>V0.1: </h3>
<ul>
<li>First attempts with DirectInput and JNI.
</li>
<li>Setup of project structure.
</li>
<li>Setup of project structure.
</li>
<li>Tests with WebStart.
</ul>
</body>
</html>

33
www/leftmenu.htm Normal file
View File

@@ -0,0 +1,33 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="description" content="JXInput - gaming devices for Java">
<meta name="keywords" content="Java, DirectInput, Joystick, Gamepad, JNI">
<meta name="author" content="Joerg Plewe, Germany">
<title>Menu - Gaming Input Devices (joystick/gamepad/DirectInput) for Java</title>
</head>
<body background="hardcode.gif">
<basefont face="Verdana">
<a href="jxabout.htm" target="main">About JXInput</a>
<p>
<a href="jxversion.htm" target="main">Version</a>
<p>
<a href="javadoc/index.html" target="main">Documentation</a>
<p>
<a href="mailto:jxinput@hardcode.de" target="main">Contact</a>
<p>
<a href="jxdownload.htm" target="main">Download</a>
<p>
<a href="jxlinks.htm" target="main">Links</a>
<p>
<a href="jnlp/jxinputtestdialog.jnlp" target="main">Test Online!</a>
<p>
<img src="http://cgicounter.puretec.de/cgi-bin/cnt?clsid=69a8cd7f58c35bd49be71fbc467d8bb31">
<p>
</body>
</html>