Files
thunderpad/src/constant.h
2014-02-23 19:37:01 +01:00

29 lines
648 B
C

#ifndef QJOYPAD_CONSTANT_H
#define QJOYPAD_CONSTANT_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 SENSITIVITY_MIN 1e-8F
#define SENSITIVITY_MAX 1e+8F
#endif