Lines Matching defs:keycode
582 int keycode;
615 /* translate the scan code into a keycode */
616 keycode = scancode & 0x7F;
641 switch (keycode) {
643 keycode = 0x59;
646 keycode = 0x5A;
649 keycode = 0x5B;
652 keycode = 0x5C;
655 keycode = 0x5D;
658 keycode = 0x68;
661 keycode = 0x5E;
664 keycode = 0x5F;
667 keycode = 0x60;
670 keycode = 0x61;
673 keycode = 0x62;
676 keycode = 0x63;
679 keycode = 0x64;
682 keycode = 0x65;
685 keycode = 0x66;
688 keycode = 0x67;
692 keycode = 0x69;
695 keycode = 0x6a;
698 keycode = 0x6b;
701 keycode = 0x6d;
704 keycode = 0x6e;
707 keycode = 0x6f;
721 if (keycode == 0x1D)
727 if (keycode != 0x45)
729 keycode = 0x68;
734 switch (keycode) {
737 keycode = 0x5c; /* print screen */
741 keycode = 0x68; /* pause */
745 keycode = 0x6c; /* break */
749 switch (keycode) {
752 keycode = 0x54; /* sysrq */
756 keycode = 0x6c; /* break */
763 return (keycode | (scancode & 0x80));
767 switch (keycode | (scancode & 0x80)) {
771 state->ks_composed_char += keycode - 0x40;
777 state->ks_composed_char += keycode - 0x47;
783 state->ks_composed_char += keycode - 0x4E;
813 /* keycode to key action */
814 action = genkbd_keyaction(kbd, keycode, scancode & 0x80,