Lines Matching defs:keycode
637 int scancode, keycode;
695 /* translate the scan code into a keycode */
696 keycode = scancode & 0x7F;
721 switch (keycode) {
723 keycode = 0x59;
726 keycode = 0x5A;
729 keycode = 0x5B;
732 keycode = 0x5C;
735 keycode = 0x5D;
738 keycode = 0x68;
741 keycode = 0x5E;
744 keycode = 0x5F;
747 keycode = 0x60;
750 keycode = 0x61;
753 keycode = 0x62;
756 keycode = 0x63;
759 keycode = 0x64;
762 keycode = 0x65;
765 keycode = 0x66;
768 keycode = 0x67;
772 keycode = 0x69;
775 keycode = 0x6a;
778 keycode = 0x6b;
781 keycode = 0x6d;
784 keycode = 0x6e;
787 keycode = 0x6f;
790 keycode = 0x73;
804 if (keycode == 0x1D)
810 if (keycode != 0x45)
812 keycode = 0x68;
817 switch (keycode) {
820 keycode = 0x54; /* sysrq */
824 keycode = 0x6c; /* break */
831 return (keycode | (scancode & 0x80));
836 switch (keycode | (scancode & 0x80)) {
840 state->ks_composed_char += keycode - 0x40;
848 state->ks_composed_char += keycode - 0x47;
856 state->ks_composed_char += keycode - 0x4E;
891 /* keycode to key action */
892 action = genkbd_keyaction(kbd, keycode, scancode & 0x80,