Searched refs:ksym (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/wsconsctl/
H A Dkeysym.c45 static struct ksym ksym_tab_by_ksym[NUMKSYMS];
96 return strcmp(((const struct ksym *) a)->name,
97 ((const struct ksym *) b)->name);
104 return ((const struct ksym *) b)->value -
105 ((const struct ksym *) a)->value;
112 return strcmp((const char *) a, ((const struct ksym *) b)->name);
119 return ((const struct ksym *) b)->value - *((const int *) a);
130 qsort(ksym_tab_by_name, NUMKSYMS, sizeof(struct ksym), qcmp_name);
131 qsort(ksym_tab_by_ksym, NUMKSYMS, sizeof(struct ksym), qcmp_ksym);
140 struct ksym *
177 ksym_upcase(keysym_t ksym) argument
[all...]
H A Dmap_parse.y69 ksym_lookup(keysym_t ksym)
76 if (mp->command == ksym ||
77 mp->group1[0] == ksym || mp->group1[1] == ksym ||
78 mp->group2[0] == ksym || mp->group2[1] == ksym)
82 errx(EXIT_FAILURE, "keysym %s not found", ksym2name(ksym));
/netbsd-6-1-5-RELEASE/sys/dev/wscons/
H A Dwskbd.c1507 internal_command(struct wskbd_softc *sc, u_int *type, keysym_t ksym, argument
1513 switch (ksym) {
1537 (ksym == KS_Cmd_ScrollFastUp) ?
1556 (ksym == KS_Cmd_ScrollSlowUp) ?
1568 ksym = ksym2;
1586 if (ksym == KS_Cmd_Debugger) {
1605 switch (ksym) {
1616 wsdisplay_switch(sc->sc_base.me_dispdv, ksym - KS_Cmd_Screen0, 0);
1628 ksym == KS_Cmd_BacklightOff ? -1 : 1,
1629 ksym
1680 keysym_t ksym, res, *group; local
[all...]
H A Dwskbdutil.c362 ksym_upcase(keysym_t ksym) argument
364 if (ksym >= KS_f1 && ksym <= KS_f20)
365 return(KS_F1 - KS_f1 + ksym);
367 if (KS_GROUP(ksym) == KS_GROUP_Plain && ksym <= 0xff &&
368 latin1_to_upper[ksym] != 0x00)
369 return(latin1_to_upper[ksym]);
371 return(ksym);

Completed in 116 milliseconds