Lines Matching full:keyboard
28 * [-d keyboard device] [-A autorepeat count]
30 * kbd [-i] [-d keyboard device]
32 * kbd -b [keyboard|console] frequency
33 * -r reset the keyboard as if power-up
34 * -t return the type of the keyboard being used
35 * -l return the layout of the keyboard being used,
43 * -d keyboard device chooses the kbd device, default /dev/kbd.
44 * -s keyboard layout sets keyboard layout
45 * -b [keyboard| console] frequency
46 * sets keyboard or console beeper frequency
67 #define KBD_DEVICE "/dev/kbd" /* default keyboard device */
232 * Open the keyboard device in main()
235 perror("opening the keyboard"); in main()
286 b_type = "keyboard"; in main()
294 if (strcmp(b_type, "keyboard") && strcmp(b_type, "console")) { in main()
323 * this routine gets the type of the keyboard being used
334 " keyboard type.\n" in set_kbd_layout()
368 (void) printf(gettext("\nTo select the keyboard layout," in set_kbd_layout()
419 * This routine sets keyboard or console beeper frequency
426 if (strcmp(type, "keyboard") == 0) in set_beep_freq()
439 * this routine resets the state of the keyboard as if power-up
456 * this routine gets the type of the keyboard being used
471 (void) printf("Type 3 Sun keyboard\n"); in get_type()
475 (void) printf("Type 4 Sun keyboard\n"); in get_type()
487 (void) printf("USB keyboard\n"); in get_type()
491 (void) printf("Unknown keyboard type\n"); in get_type()
498 * this routine gets the layout of the keyboard being used
548 * this routine enables or disables clicking of the keyboard
722 "Can not alloc memory for keyboard properties\n"); in kbd_defaults()
728 "Can not alloc memory for keyboard properties\n"); in kbd_defaults()
830 (void) set_beep_freq(kbd, "keyboard", val_kbd_beeper); in kbd_defaults()
916 * this routine sets the layout of the keyboard being used
933 "\t [-d keyboard device] [-A count] [-D delay] [-R rate]";
934 static char *usage2 = "kbd -i [-d keyboard device]";
936 static char *usage4 = "kbd -b [keyboard|console] frequency";