OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AXIS_MAX
(Results
1 - 4
of
4
) sorted by null
/external/qemu/distrib/sdl-1.2.12/src/joystick/win32/
SDL_mmjoystick.c
42
#define
AXIS_MAX
32767 /* maximum value for axis coordinate */
44
#define JOY_AXIS_THRESHOLD (((
AXIS_MAX
)-(AXIS_MIN))/256)
195
int axis_min[MAX_AXES],
axis_max
[MAX_AXES];
local
201
axis_max
[0] = SYS_Joystick[index].wXmax;
203
axis_max
[1] = SYS_Joystick[index].wYmax;
205
axis_max
[2] = SYS_Joystick[index].wZmax;
207
axis_max
[3] = SYS_Joystick[index].wRmax;
209
axis_max
[4] = SYS_Joystick[index].wUmax;
211
axis_max
[5] = SYS_Joystick[index].wVmax;
229
(float)(
AXIS_MAX
- AXIS_MIN) / (axis_max[i] - axis_min[i])
[
all
...]
/external/oprofile/libpp/
arrange_profiles.h
129
AXIS_MAX
arrange_profiles.cpp
106
} axes[
AXIS_MAX
] = {
131
case
AXIS_MAX
:
219
if (classes.axis ==
AXIS_MAX
)
354
case
AXIS_MAX
:;
367
bool changed[
AXIS_MAX
] = { false, };
399
classes.axis =
AXIS_MAX
;
401
for (size_t i = 0; i <
AXIS_MAX
; ++i) {
412
if (classes.axis ==
AXIS_MAX
) {
/external/qemu/distrib/sdl-1.2.12/src/joystick/os2/
SDL_sysjoystick.c
48
#define
AXIS_MAX
32767 /* maximum value for axes coordinate */
51
#define JOY_AXIS_THRESHOLD (((
AXIS_MAX
)-(AXIS_MIN))/256)
350
joystick->hwdata->transaxes[i].offset = ((
AXIS_MAX
+ AXIS_MIN)>>1) - SYS_JoyData[index].axes_med[i];
351
//joystick->hwdata->transaxes[i].scale = (float)((
AXIS_MAX
- AXIS_MIN)/(SYS_JoyData[index].axes_max[i]-SYS_JoyData[index].axes_min[i]));
353
joystick->hwdata->transaxes[i].scale2 = (float)abs((
AXIS_MAX
/SYS_JoyData[index].axes_max[i]));
442
if (value<0) value =
AXIS_MAX
;
Completed in 46 milliseconds