Home
last modified time | relevance | path

Searched refs:max_key_code (Results 1 – 5 of 5) sorted by relevance

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeycodes.c50 xkb_keycode_t max_key_code; member
170 for (i = info->min_key_code; i <= info->max_key_code; i++) in FindKeyByName()
191 info->max_key_code = MAX(info->max_key_code, kc); in AddKeyName()
272 into->max_key_code = from->max_key_code; in MergeIncludedKeycodes()
278 for (unsigned i = from->min_key_code; i <= from->max_key_code; i++) { in MergeIncludedKeycodes()
530 xkb_keycode_t min_key_code, max_key_code, kc; in CopyKeyNamesToKeymap() local
533 max_key_code = info->max_key_code; in CopyKeyNamesToKeymap()
537 max_key_code = 255; in CopyKeyNamesToKeymap()
540 keys = calloc(max_key_code + 1, sizeof(*keys)); in CopyKeyNamesToKeymap()
544 for (kc = min_key_code; kc <= max_key_code; kc++) in CopyKeyNamesToKeymap()
[all …]
Dkeymap-dump.c165 write_buf(buf, "\tmaximum = %u;\n", max(keymap->max_key_code, 255)); in write_keycodes()
/external/libxkbcommon/xkbcommon/src/x11/
Dkeymap.c407 keymap->max_key_code = reply->maxKeyCode; in get_sym_maps()
409 ALLOC_OR_FAIL(keymap->keys, keymap->max_key_code + 1); in get_sym_maps()
411 for (xkb_keycode_t kc = keymap->min_key_code; kc <= keymap->max_key_code; kc++) in get_sym_maps()
484 keymap->max_key_code + 1); in get_actions()
556 wire->keycode <= keymap->max_key_code); in get_explicits()
601 wire->keycode <= keymap->max_key_code); in get_modmaps()
628 wire->keycode <= keymap->max_key_code); in get_vmodmaps()
985 FAIL_UNLESS(reply->maxKeyCode == keymap->max_key_code); in get_key_names()
987 FAIL_UNLESS(reply->firstKey + reply->nKeys - 1U == keymap->max_key_code); in get_key_names()
1130 FAIL_UNLESS(keymap->max_key_code < XCB_XKB_CONST_PER_KEY_BIT_ARRAY_SIZE * 8); in get_controls()
[all …]
/external/libxkbcommon/xkbcommon/src/
Dkeymap.h371 xkb_keycode_t max_key_code; member
403 (iter) <= (keymap)->keys + (keymap)->max_key_code; \
429 if (kc < keymap->min_key_code || kc > keymap->max_key_code) in XkbKey()
Dkeymap.c460 return keymap->max_key_code; in xkb_keymap_max_keycode()