mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
No description
b2e92c2864
First, this completely smashes joystick input: it will not work (though it doesn't crash). This is because there is, as of yet, no means to configure the system. Each joystick axis has: - per-axis amplification (both pre and post). - per-axis offset (offset applied after pre-amp but before post amp) - selectable destination: - linear delta: position and angles (as before) - axis button: if the value crosses the threshold, the given key is pressed or released as appropriate. The axis amplification still uses joy_amp and joy_pre_amp (and in_amp/in_pre_amp), but now also has the per-axis settings. The per-axis offset is most useful for axis buttons. For example, the xbox 360 controller triggers are analong but go "all the way to negative on 0 state". Offsetting the input keeps axis button thresholds simple. Amplification and offset is applied before anything is done with the axis value. The formula is: joy_amp * in_amp * axis-amp * (offset + value * joy_pre_amp * in_pre_amp * axis-pre_amp) Axis button thresholds are very simple: if the sign of the value is the same as the sign of the threshold and abs(value) >= abs(threshold), the button is pressed. While multiple thresholds and keys can be placed on an axis, only one can be pressed at a time. The threshold furthest from 0 wins. |
||
---|---|---|
config.d | ||
debian | ||
desktop | ||
doc | ||
hw | ||
include | ||
libs | ||
m4 | ||
nq | ||
pkg-config | ||
qtv | ||
qw | ||
RPM | ||
ruamoko | ||
tools | ||
vc2005 | ||
vc2008 | ||
.gitignore | ||
bootstrap | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README.cygwin | ||
TODO |
This file gives instruction for compiling QF with cygwin to run in MS Windows(R). DISCLAIMER: Use at your own risk, NO WARRANTY of any kind. NO GUARANTEE of correctness or usability. If you have problems with these instructions please let me know. email: wildcode@users.sourceforge.net IRC: irc.xiph.org #quakeforge ========================================================================== WARNING: This is not intended for inexperienced users, binaries are available on request. QuakeForge may take several hours from bootstrap to the completion of make install on some systems To build win32(mingw) QuakeForge bins you will need to download and install cygwin, and the Microsoft DirectX SDK. Cygwin can be found at http://www.cygwin.org Once cygwin is installed along with the appropriate developement modules, copy dinput.h from the DirectX SDK and place it in /usr/include/w32api/ If you want to use DirectSound also copy dsound.h to the same spot. in the quakeforge source dir, within cygwin, type ./bootstrap ./configure --host=i386-mingw32 --build=i386-cygwin --target=i386-mingw32 --program-prefix= --with-static-plugins --disable-shared --disable-oss --disable-vorbis --disable-Werror --enable-optimize --enable-asmopt --disable-debug --enable-zlib make make install --disable-Werror is needed as some versions of the DX SDK are buggy. Go to the /usr/local/bin directory and copy the qw-* and nq-* files to your dos quake dir Let us know how it works for you. NOTE: At the time of writing qw-server.exe was not working correctly. Please refrain from using it unless you are willing to fix it. Special Note: QuakeForge supplies only our own version of the programs for Quake. To get the game data, you still need to have purchased Quake or get the shareware version from Id Software. Chris Ison (WildCode) for QuakeForge March 11, 2003