04b7641e85
- 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'
26 lines
664 B
Django/Jinja
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
|