X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fxt_usb%2Fmatrix.c;h=1123b11f24d9e4ff93d82bfabeae88e28afba33e;hb=527bdbbcbddc51b22c4fb210889998d550544189;hp=f6784573b385e519755a085b3fe3b3563b1c5767;hpb=06e3f8485612e5f7e46711530a63312c5f62a80b;p=max%2Ftmk_keyboard.git diff --git a/converter/xt_usb/matrix.c b/converter/xt_usb/matrix.c index f6784573..1123b11f 100644 --- a/converter/xt_usb/matrix.c +++ b/converter/xt_usb/matrix.c @@ -48,15 +48,14 @@ void matrix_init(void) // convert E0-escaped codes into unused area static uint8_t move_e0code(uint8_t code) { switch(code) { - // Original IBM XT keyboard has these keys + // Original IBM XT keyboard doesn't use E0-codes probably + // Some XT compatilble keyobards need these keys? + // http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/translate.pdf + // https://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/scancode.doc case 0x37: return 0x54; // Print Screen case 0x46: return 0x55; // Ctrl + Pause case 0x1C: return 0x6F; // Keypad Enter case 0x35: return 0x7F; // Keypad / - - // Any XT keyobard with these keys? - // http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/translate.pdf - // https://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/scancode.doc case 0x5B: return 0x5A; // Left GUI case 0x5C: return 0x5B; // Right GUI case 0x5D: return 0x5C; // Application