finishing up repo migration

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@80 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2009-05-26 00:45:05 +00:00
committed by virtuoussin13
commit 1cc6e9087e
59 changed files with 6563 additions and 0 deletions

29
src/constant.h Normal file
View File

@ -0,0 +1,29 @@
#ifndef JCONST_H
#define JCONST_H
//How many cycles there are per click.
#define FREQ 10
//How many milliseconds per cycle.
#define MSEC 5
//events will be generated every FREQ * MSEC milliseconds. The duration of the
//event can be anywhere between 0 * MSEC and FREQ * MSEC. This means there will
//be FREQ + 1 levels of gradation.
//maximum range of values from joystick driver
#define JOYMAX 32767
#define JOYMIN -32767
//maximum number of defined keys
#define MAXKEY 122
//fastest the mouse can go. Completely arbitrary.
#define MAXMOUSESPEED 5000
#define NAME "QJoyPad 3.4"
#define MOUSE_OFFSET 400
#endif