Home
last modified time | relevance | path

Searched refs:keymap (Results 1 – 25 of 155) sorted by relevance

1234567

/freebsd/usr.sbin/bsdconfig/console/include/
H A Dmessages.subr36 msg_belgian_desc="Belgian ISO keymap"
40 msg_brazil_cp850_desc="Brazil CP850 keymap"
43 msg_brazil_iso_accent_desc="Brazil ISO keymap (accent keys)"
44 msg_brazil_iso_desc="Brazil ISO keymap"
46 msg_bulgarian_bds_desc="Bulgarian BDS keymap"
48 msg_bulgarian_phonetic_desc="Bulgarian Phonetic keymap"
51 msg_central_european_iso_desc="Central European ISO keymap"
59 msg_croatian_iso_desc="Croation ISO keymap"
61 msg_czech_iso_accent_desc="Czech ISO keymap (accent keys)"
65 msg_danish_cp865_desc="Danish Code Page 865 keymap"
[all …]
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dkeymap35 f_include $BSDCFG_SHARE/keymap.subr
43 : ${KEYMAPFILE:=$BSDINSTALL_TMPETC/rc.conf.keymap}
129 f_getvar $VAR_KEYMAP keymap
130 if [ ! "$keymap" ]; then
131 keymap=$( f_sysrc_get keymap )
132 case "$keymap" in [Nn][Oo]) keymap="";; esac
164 if [ "$keym" = "$keymap" ]; then
210 dialog_keymap_test "$keymap"
222 # Get actual keymap setting while we update $keymap and $KEYMAPFILE
224 echo "keymap=\"$keymap\"" > "$KEYMAPFILE"
[all …]
/freebsd/sys/contrib/dev/athk/
H A Dkey.c391 if (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot_tkip()
392 test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot_tkip()
395 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot_tkip()
396 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot_tkip()
416 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot()
417 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot()
418 test_bit(i + 64, common->keymap) || in ath_reserve_key_cache_slot()
419 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot()
421 if (!test_bit(i + 32, common->keymap) && in ath_reserve_key_cache_slot()
422 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot()
[all …]
/freebsd/usr.sbin/bsdconfig/share/
H A Dkeymap.subr32 f_dprintf "%s: loading includes..." keymap.subr
51 # A "keymap" from kbdmap's point of view
66 # Register a keymap. A `structure' (see struct.subr) is created with the name
71 # If not already registered, the keymap is then appended to the KEYMAPS
94 # f_keymap_checkfile $keymap
96 # Check that $keymap is a readable kbdmap(5) file. Returns success if $keymap
99 # $keymap is not available.
105 # Fixup keymap if it doesn't already contain at least one `/'
126 # Get all keymap information for kbdmap(5) entries both in the database and
135 f_dprintf "%s: Looking for keymap files..." $fname
[all …]
/freebsd/usr.sbin/kbdmap/
H A Dkbdmap.c67 struct keymap { struct
71 SLIST_ENTRY(keymap) entries; argument
73 static SLIST_HEAD(slisthead, keymap) head = SLIST_HEAD_INITIALIZER(head);
79 static struct keymap *
82 struct keymap *km; in get_keymap()
97 struct keymap *km; in get_num_keymaps()
112 struct keymap *km; in remove_keymap()
116 SLIST_REMOVE(&head, km, keymap, entries); in remove_keymap()
129 struct keymap *km, *km_new; in add_keymap()
142 km_new = (struct keymap *) malloc (sizeof(struct keymap)); in add_keymap()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dqcom,pm8xxx-keypad.txt25 - linux,keymap:
28 Definition: the linux keymap. More information can be found in
29 input/matrix-keymap.txt.
45 Definition: number of rows in the keymap. More information can be found
46 in input/matrix-keymap.txt.
51 Definition: number of columns in the keymap. More information can be
52 found in input/matrix-keymap.txt.
79 linux,keymap = <
H A Dstmpe-keypad.txt5 - linux,keymap : See ./matrix-keymap.txt
11 - keypad,num-rows : See ./matrix-keymap.txt
12 - keypad,num-columns : See ./matrix-keymap.txt
23 linux,keymap = <0x205006b
H A Dnvidia,tegra20-kbc.txt14 - linux,keymap: The keymap for keys as described in the binding document
15 devicetree/bindings/input/matrix-keymap.txt.
26 - linux,fn-keymap: a second keymap, same specification as the
48 linux,keymap = <0x00000074
H A Dst-keyscan.txt4 matrix-keymap.
19 - linux,keymap: The keymap for keys as described in the binding document
20 devicetree/bindings/input/matrix-keymap.txt.
44 linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13)
H A Dlpc32xx-key.txt3 This binding is based on the matrix-keymap binding with the following
14 - linux,keymap: the key-code to be reported when the key is pressed
16 Documentation/devicetree/bindings/input/matrix-keymap.txt
33 linux,keymap = <0x00000002>;
H A Dti,nspire-keypad.txt18 - linux,keymap: The keymap to use
19 (see Documentation/devicetree/bindings/input/matrix-keymap.txt)
37 linux,keymap = <
H A Dclps711x-keypad.txt7 - linux,keymap: The definition can be found at
8 bindings/input/matrix-keymap.txt.
21 linux,keymap = <
H A Dbrcm,bcm-keypad.txt9 This binding is based on the matrix-keymap binding with the following
61 - linux,keymap: The keymap for keys as described in the binding document
62 devicetree/bindings/input/matrix-keymap.txt.
76 linux,keymap = <MATRIX_KEY(0x00, 0x02, KEY_F) /* key_forward */
H A Dimx-keypad.txt26 - linux,keymap: The definition can be found at
27 bindings/input/matrix-keymap.txt.
37 linux,keymap = <0x00000067 /* KEY_UP */
H A Dtca8418_keypad.txt1 This binding is based on the matrix-keymap binding with the following
10 - linux,keymap: Keys definitions, see keypad-matrix.
H A Dgpio-matrix-keypad.txt17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
43 linux,keymap = <0x0000008B
/freebsd/usr.sbin/kbdcontrol/
H A Dkbdcontrol.c113 static void dump_key_definition(char *name, keymap_t *keymap);
285 get_definition_line(FILE *file, keymap_t *keymap, accentmap_t *accentmap) in get_definition_line() argument
295 c = get_key_definition_line(keymap); in get_definition_line()
298 if (c > keymap->n_keys) in get_definition_line()
299 keymap->n_keys = c; in get_definition_line()
727 dump_key_definition(char *name, keymap_t *keymap) in dump_key_definition() argument
732 name, (unsigned)keymap->n_keys); in dump_key_definition()
739 for (i = 0; i < keymap->n_keys; i++) { in dump_key_definition()
742 if (keymap->key[i].spcl & (0x80 >> j)) in dump_key_definition()
743 dump_entry(keymap->key[i].map[j] | SPECIAL); in dump_key_definition()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/
H A Dht16k33.txt10 - linux,keymap: The keymap for keys as described in the binding
11 document (devicetree/bindings/input/matrix-keymap.txt).
27 linux,keymap = <
/freebsd/libexec/rc/rc.d/
H A Dsyscons91 keymap=`basename $1 .kbd`
92 case $keymap in
166 errmsg=`kbdcontrol < ${kbddev} -l ${keymap} 2>&1`
169 keymap_vt=`lookup_keymap_for_vt ${keymap}`
173 _sc_keymap_msg="New keymap: In /etc/rc.conf replace 'keymap=${keymap}' by 'keymap=${keymap_vt}'"
176 _sc_keymap_msg="No replacement found for keymap '${keymap}'.
188 case ${keymap} in
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dtc3589x.txt51 bindings/input/matrix-keymap.txt
53 bindings/input/matrix-keymap.txt
54 - linux,keymap: the definition can be found in
55 bindings/input/matrix-keymap.txt
87 linux,keymap = <0x0301006b
/freebsd/usr.sbin/bluetooth/bthidd/
H A Dbtuinput.c74 static uint16_t const keymap[0x100] = { variable
399 for (i = 0; i < nitems(keymap); i++) in uinput_open_keyboard()
400 if (keymap[i] != NONE && in uinput_open_keyboard()
401 ioctl(fd, UI_SET_KEYBIT, keymap[i]) < 0) in uinput_open_keyboard()
521 if (key >= 0 && key < (int32_t)nitems(keymap) && in uinput_rep_key()
522 keymap[key] != NONE) { in uinput_rep_key()
523 if (uinput_write_event(fd, EV_KEY, keymap[key], make) > 0 && in uinput_rep_key()
/freebsd/sys/dev/kbd/
H A Dkbdreg.h38 struct keymap;
149 struct keymap *kb_keymap; /* key map */
343 void kbd_set_maps(keyboard_t *kbd, struct keymap *keymap,
/freebsd/sys/dev/kbdmux/
H A Dkbdmux.c387 keymap_t *keymap = NULL; in kbdmux_init() local
399 keymap = malloc(sizeof(key_map), M_KBDMUX, M_NOWAIT); in kbdmux_init()
405 if ((kbd == NULL) || (state == NULL) || (keymap == NULL) || in kbdmux_init()
420 keymap = kbd->kb_keymap; in kbdmux_init()
430 bcopy(&key_map, keymap, sizeof(key_map)); in kbdmux_init()
434 kbd_set_maps(kbd, keymap, accmap, fkeymap, fkeymap_size); in kbdmux_init()
498 if (keymap != NULL) in kbdmux_init()
499 free(keymap, M_KBDMUX); in kbdmux_init()
/freebsd/sys/dev/atkbdc/
H A Datkbd.c375 keymap_t *keymap; in atkbd_init() local
393 keymap = &default_keymap; in atkbd_init()
402 keymap = malloc(sizeof(key_map), M_DEVBUF, M_NOWAIT); in atkbd_init()
407 if ((kbd == NULL) || (state == NULL) || (keymap == NULL) in atkbd_init()
418 keymap = kbd->kb_keymap; in atkbd_init()
433 bcopy(&key_map, keymap, sizeof(key_map)); in atkbd_init()
437 kbd_set_maps(kbd, keymap, accmap, fkeymap, fkeymap_size); in atkbd_init()
513 if (keymap != NULL) in atkbd_init()
514 free(keymap, M_DEVBUF); in atkbd_init()
/freebsd/sys/dev/vkbd/
H A Dvkbd.c610 keymap_t *keymap = NULL; in vkbd_init() local
619 keymap = malloc(sizeof(key_map), M_VKBD, M_NOWAIT); in vkbd_init()
624 if ((kbd == NULL) || (state == NULL) || (keymap == NULL) || in vkbd_init()
638 keymap = kbd->kb_keymap; in vkbd_init()
647 bcopy(&key_map, keymap, sizeof(key_map)); in vkbd_init()
651 kbd_set_maps(kbd, keymap, accmap, fkeymap, fkeymap_size); in vkbd_init()
686 if (keymap != NULL) in vkbd_init()
687 free(keymap, M_VKBD); in vkbd_init()

1234567