Files
RedBear-OS/local/recipes/libs/libxkbcommon/source/test/keysym.h.jinja
T
vasilito 04b7641e85 config: add x11proto dependency for libxau and SDDM
- Add x11proto to redbear-full.toml package list
- libxau recipe updated with x11proto dependency and custom build script
- Fixes libxau build failure: 'Package xproto was not found'
2026-06-20 14:57:46 +03:00

26 lines
664 B
Django/Jinja

#ifndef KEYSYM_TEST_H
#define KEYSYM_TEST_H
#include "xkbcommon/xkbcommon.h"
#include "xkbcommon/xkbcommon-keysyms.h"
struct ambiguous_icase_ks_names_entry {
xkb_keysym_t keysym;
const int count;
const char *names[{{ MAX_AMBIGUOUS_NAMES }}];
};
static const struct ambiguous_icase_ks_names_entry
ambiguous_icase_ks_names[] = {
{% for names in ambiguous_case_insensitive_names.values() %}
{ XKB_KEY_{{ names[-1] }}, {{ names | length }}, { {# -#}
{% for name in names -%}
"{{ name }}"{% if not loop.last %}, {% endif -%}
{% endfor %}
{#- #} } }
{%- if not loop.last %},{% endif +%}
{% endfor %}
};
#endif