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

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

#undef XLAT_PREV_VAL

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat kd_keymap_flags in mpers mode

# else

DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
static const struct xlat_data kd_keymap_flags_xdata[] = {
 XLAT_PAIR(1ULL<<KG_SHIFT, "1<<KG_SHIFT"),
 #define XLAT_VAL_0 ((unsigned) (1ULL<<KG_SHIFT))
 #define XLAT_STR_0 "1<<KG_SHIFT"
 XLAT_PAIR(1ULL<<KG_ALTGR, "1<<KG_ALTGR"),
 #define XLAT_VAL_1 ((unsigned) (1ULL<<KG_ALTGR))
 #define XLAT_STR_1 "1<<KG_ALTGR"
 XLAT_PAIR(1ULL<<KG_CTRL, "1<<KG_CTRL"),
 #define XLAT_VAL_2 ((unsigned) (1ULL<<KG_CTRL))
 #define XLAT_STR_2 "1<<KG_CTRL"
 XLAT_PAIR(1ULL<<KG_ALT, "1<<KG_ALT"),
 #define XLAT_VAL_3 ((unsigned) (1ULL<<KG_ALT))
 #define XLAT_STR_3 "1<<KG_ALT"
 XLAT_PAIR(1ULL<<KG_SHIFTL, "1<<KG_SHIFTL"),
 #define XLAT_VAL_4 ((unsigned) (1ULL<<KG_SHIFTL))
 #define XLAT_STR_4 "1<<KG_SHIFTL"
 XLAT_PAIR(1ULL<<KG_SHIFTR, "1<<KG_SHIFTR"),
 #define XLAT_VAL_5 ((unsigned) (1ULL<<KG_SHIFTR))
 #define XLAT_STR_5 "1<<KG_SHIFTR"
 XLAT_PAIR(1ULL<<KG_CTRLL, "1<<KG_CTRLL"),
 #define XLAT_VAL_6 ((unsigned) (1ULL<<KG_CTRLL))
 #define XLAT_STR_6 "1<<KG_CTRLL"
 XLAT_PAIR(1ULL<<KG_CTRLR, "1<<KG_CTRLR"),
 #define XLAT_VAL_7 ((unsigned) (1ULL<<KG_CTRLR))
 #define XLAT_STR_7 "1<<KG_CTRLR"
};
static
const struct xlat kd_keymap_flags[1] = { {
 .data = kd_keymap_flags_xdata,
 .size = ARRAY_SIZE(kd_keymap_flags_xdata),
 .type = XT_NORMAL,
 .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
  ,
 .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
  ,
} };
DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE

#  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
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
