dinput: Fix compile with old input.h that missing input_absinfo.

This commit is contained in:
Vitaliy Margolen 2007-08-21 07:06:17 -06:00 committed by Alexandre Julliard
parent 18060ed7d4
commit fc0298429a
1 changed files with 9 additions and 1 deletions

View File

@ -119,6 +119,14 @@ LONG joystick_map_axis(ObjProps *props, int val)
#define WINE_JOYSTICK_MAX_POVS 4
#define WINE_JOYSTICK_MAX_BUTTONS 128
struct wine_input_absinfo {
LONG value;
LONG minimum;
LONG maximum;
LONG fuzz;
LONG flat;
};
typedef struct EffectListItem EffectListItem;
struct EffectListItem
{
@ -150,7 +158,7 @@ struct JoyDev {
BYTE ffbits[(FF_MAX+7)/8];
/* data returned by the EVIOCGABS() ioctl */
struct input_absinfo axes[ABS_MAX];
struct wine_input_absinfo axes[ABS_MAX];
};
struct JoystickImpl