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:
29
src/constant.h
Normal file
29
src/constant.h
Normal 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
|
Reference in New Issue
Block a user