/* Generated by ./xlat/gen.sh from ./xlat/evdev_ff_types.in; do not edit. */

#include "gcc_compat.h"
#include "static_assert.h"

#if defined(FF_RUMBLE) || (defined(HAVE_DECL_FF_RUMBLE) && HAVE_DECL_FF_RUMBLE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_RUMBLE) == (0x50), "FF_RUMBLE != 0x50");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_RUMBLE 0x50
#endif
#if defined(FF_PERIODIC) || (defined(HAVE_DECL_FF_PERIODIC) && HAVE_DECL_FF_PERIODIC)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_PERIODIC) == (0x51), "FF_PERIODIC != 0x51");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_PERIODIC 0x51
#endif
#if defined(FF_CONSTANT) || (defined(HAVE_DECL_FF_CONSTANT) && HAVE_DECL_FF_CONSTANT)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_CONSTANT) == (0x52), "FF_CONSTANT != 0x52");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_CONSTANT 0x52
#endif
#if defined(FF_SPRING) || (defined(HAVE_DECL_FF_SPRING) && HAVE_DECL_FF_SPRING)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_SPRING) == (0x53), "FF_SPRING != 0x53");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_SPRING 0x53
#endif
#if defined(FF_FRICTION) || (defined(HAVE_DECL_FF_FRICTION) && HAVE_DECL_FF_FRICTION)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_FRICTION) == (0x54), "FF_FRICTION != 0x54");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_FRICTION 0x54
#endif
#if defined(FF_DAMPER) || (defined(HAVE_DECL_FF_DAMPER) && HAVE_DECL_FF_DAMPER)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_DAMPER) == (0x55), "FF_DAMPER != 0x55");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_DAMPER 0x55
#endif
#if defined(FF_INERTIA) || (defined(HAVE_DECL_FF_INERTIA) && HAVE_DECL_FF_INERTIA)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_INERTIA) == (0x56), "FF_INERTIA != 0x56");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_INERTIA 0x56
#endif
#if defined(FF_RAMP) || (defined(HAVE_DECL_FF_RAMP) && HAVE_DECL_FF_RAMP)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_RAMP) == (0x57), "FF_RAMP != 0x57");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_RAMP 0x57
#endif
#if defined(FF_SQUARE) || (defined(HAVE_DECL_FF_SQUARE) && HAVE_DECL_FF_SQUARE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_SQUARE) == (0x58), "FF_SQUARE != 0x58");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_SQUARE 0x58
#endif
#if defined(FF_TRIANGLE) || (defined(HAVE_DECL_FF_TRIANGLE) && HAVE_DECL_FF_TRIANGLE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_TRIANGLE) == (0x59), "FF_TRIANGLE != 0x59");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_TRIANGLE 0x59
#endif
#if defined(FF_SINE) || (defined(HAVE_DECL_FF_SINE) && HAVE_DECL_FF_SINE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_SINE) == (0x5a), "FF_SINE != 0x5a");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_SINE 0x5a
#endif
#if defined(FF_SAW_UP) || (defined(HAVE_DECL_FF_SAW_UP) && HAVE_DECL_FF_SAW_UP)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_SAW_UP) == (0x5b), "FF_SAW_UP != 0x5b");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_SAW_UP 0x5b
#endif
#if defined(FF_SAW_DOWN) || (defined(HAVE_DECL_FF_SAW_DOWN) && HAVE_DECL_FF_SAW_DOWN)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_SAW_DOWN) == (0x5c), "FF_SAW_DOWN != 0x5c");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_SAW_DOWN 0x5c
#endif
#if defined(FF_CUSTOM) || (defined(HAVE_DECL_FF_CUSTOM) && HAVE_DECL_FF_CUSTOM)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_CUSTOM) == (0x5d), "FF_CUSTOM != 0x5d");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_CUSTOM 0x5d
#endif
#if defined(FF_GAIN) || (defined(HAVE_DECL_FF_GAIN) && HAVE_DECL_FF_GAIN)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_GAIN) == (0x60), "FF_GAIN != 0x60");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_GAIN 0x60
#endif
#if defined(FF_AUTOCENTER) || (defined(HAVE_DECL_FF_AUTOCENTER) && HAVE_DECL_FF_AUTOCENTER)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((FF_AUTOCENTER) == (0x61), "FF_AUTOCENTER != 0x61");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define FF_AUTOCENTER 0x61
#endif

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat evdev_ff_types in mpers mode

# else

static const struct xlat_data evdev_ff_types_xdata[] = {
 XLAT(FF_RUMBLE),
 #define XLAT_VAL_0 ((unsigned) (FF_RUMBLE))
 #define XLAT_STR_0 STRINGIFY(FF_RUMBLE)
 XLAT(FF_PERIODIC),
 #define XLAT_VAL_1 ((unsigned) (FF_PERIODIC))
 #define XLAT_STR_1 STRINGIFY(FF_PERIODIC)
 XLAT(FF_CONSTANT),
 #define XLAT_VAL_2 ((unsigned) (FF_CONSTANT))
 #define XLAT_STR_2 STRINGIFY(FF_CONSTANT)
 XLAT(FF_SPRING),
 #define XLAT_VAL_3 ((unsigned) (FF_SPRING))
 #define XLAT_STR_3 STRINGIFY(FF_SPRING)
 XLAT(FF_FRICTION),
 #define XLAT_VAL_4 ((unsigned) (FF_FRICTION))
 #define XLAT_STR_4 STRINGIFY(FF_FRICTION)
 XLAT(FF_DAMPER),
 #define XLAT_VAL_5 ((unsigned) (FF_DAMPER))
 #define XLAT_STR_5 STRINGIFY(FF_DAMPER)
 XLAT(FF_INERTIA),
 #define XLAT_VAL_6 ((unsigned) (FF_INERTIA))
 #define XLAT_STR_6 STRINGIFY(FF_INERTIA)
 XLAT(FF_RAMP),
 #define XLAT_VAL_7 ((unsigned) (FF_RAMP))
 #define XLAT_STR_7 STRINGIFY(FF_RAMP)
 XLAT(FF_SQUARE),
 #define XLAT_VAL_8 ((unsigned) (FF_SQUARE))
 #define XLAT_STR_8 STRINGIFY(FF_SQUARE)
 XLAT(FF_TRIANGLE),
 #define XLAT_VAL_9 ((unsigned) (FF_TRIANGLE))
 #define XLAT_STR_9 STRINGIFY(FF_TRIANGLE)
 XLAT(FF_SINE),
 #define XLAT_VAL_10 ((unsigned) (FF_SINE))
 #define XLAT_STR_10 STRINGIFY(FF_SINE)
 XLAT(FF_SAW_UP),
 #define XLAT_VAL_11 ((unsigned) (FF_SAW_UP))
 #define XLAT_STR_11 STRINGIFY(FF_SAW_UP)
 XLAT(FF_SAW_DOWN),
 #define XLAT_VAL_12 ((unsigned) (FF_SAW_DOWN))
 #define XLAT_STR_12 STRINGIFY(FF_SAW_DOWN)
 XLAT(FF_CUSTOM),
 #define XLAT_VAL_13 ((unsigned) (FF_CUSTOM))
 #define XLAT_STR_13 STRINGIFY(FF_CUSTOM)
 XLAT(FF_GAIN),
 #define XLAT_VAL_14 ((unsigned) (FF_GAIN))
 #define XLAT_STR_14 STRINGIFY(FF_GAIN)
 XLAT(FF_AUTOCENTER),
 #define XLAT_VAL_15 ((unsigned) (FF_AUTOCENTER))
 #define XLAT_STR_15 STRINGIFY(FF_AUTOCENTER)
};
static
const struct xlat evdev_ff_types[1] = { {
 .data = evdev_ff_types_xdata,
 .size = ARRAY_SIZE(evdev_ff_types_xdata),
 .type = XT_SORTED,
 .flags_mask = 0
#  ifdef XLAT_VAL_0
  | XLAT_VAL_0
#  endif
#  ifdef XLAT_VAL_1
  | XLAT_VAL_1
#  endif
#  ifdef XLAT_VAL_2
  | XLAT_VAL_2
#  endif
#  ifdef XLAT_VAL_3
  | XLAT_VAL_3
#  endif
#  ifdef XLAT_VAL_4
  | XLAT_VAL_4
#  endif
#  ifdef XLAT_VAL_5
  | XLAT_VAL_5
#  endif
#  ifdef XLAT_VAL_6
  | XLAT_VAL_6
#  endif
#  ifdef XLAT_VAL_7
  | XLAT_VAL_7
#  endif
#  ifdef XLAT_VAL_8
  | XLAT_VAL_8
#  endif
#  ifdef XLAT_VAL_9
  | XLAT_VAL_9
#  endif
#  ifdef XLAT_VAL_10
  | XLAT_VAL_10
#  endif
#  ifdef XLAT_VAL_11
  | XLAT_VAL_11
#  endif
#  ifdef XLAT_VAL_12
  | XLAT_VAL_12
#  endif
#  ifdef XLAT_VAL_13
  | XLAT_VAL_13
#  endif
#  ifdef XLAT_VAL_14
  | XLAT_VAL_14
#  endif
#  ifdef XLAT_VAL_15
  | XLAT_VAL_15
#  endif
  ,
 .flags_strsz = 0
#  ifdef XLAT_STR_0
  + sizeof(XLAT_STR_0)
#  endif
#  ifdef XLAT_STR_1
  + sizeof(XLAT_STR_1)
#  endif
#  ifdef XLAT_STR_2
  + sizeof(XLAT_STR_2)
#  endif
#  ifdef XLAT_STR_3
  + sizeof(XLAT_STR_3)
#  endif
#  ifdef XLAT_STR_4
  + sizeof(XLAT_STR_4)
#  endif
#  ifdef XLAT_STR_5
  + sizeof(XLAT_STR_5)
#  endif
#  ifdef XLAT_STR_6
  + sizeof(XLAT_STR_6)
#  endif
#  ifdef XLAT_STR_7
  + sizeof(XLAT_STR_7)
#  endif
#  ifdef XLAT_STR_8
  + sizeof(XLAT_STR_8)
#  endif
#  ifdef XLAT_STR_9
  + sizeof(XLAT_STR_9)
#  endif
#  ifdef XLAT_STR_10
  + sizeof(XLAT_STR_10)
#  endif
#  ifdef XLAT_STR_11
  + sizeof(XLAT_STR_11)
#  endif
#  ifdef XLAT_STR_12
  + sizeof(XLAT_STR_12)
#  endif
#  ifdef XLAT_STR_13
  + sizeof(XLAT_STR_13)
#  endif
#  ifdef XLAT_STR_14
  + sizeof(XLAT_STR_14)
#  endif
#  ifdef XLAT_STR_15
  + sizeof(XLAT_STR_15)
#  endif
  ,
} };

#  undef XLAT_STR_0
#  undef XLAT_VAL_0
#  undef XLAT_STR_1
#  undef XLAT_VAL_1
#  undef XLAT_STR_2
#  undef XLAT_VAL_2
#  undef XLAT_STR_3
#  undef XLAT_VAL_3
#  undef XLAT_STR_4
#  undef XLAT_VAL_4
#  undef XLAT_STR_5
#  undef XLAT_VAL_5
#  undef XLAT_STR_6
#  undef XLAT_VAL_6
#  undef XLAT_STR_7
#  undef XLAT_VAL_7
#  undef XLAT_STR_8
#  undef XLAT_VAL_8
#  undef XLAT_STR_9
#  undef XLAT_VAL_9
#  undef XLAT_STR_10
#  undef XLAT_VAL_10
#  undef XLAT_STR_11
#  undef XLAT_VAL_11
#  undef XLAT_STR_12
#  undef XLAT_VAL_12
#  undef XLAT_STR_13
#  undef XLAT_VAL_13
#  undef XLAT_STR_14
#  undef XLAT_VAL_14
#  undef XLAT_STR_15
#  undef XLAT_VAL_15
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
