ibmpc_usb: Fix message about 5576/Televideo
This commit is contained in:
parent
d29213ff3d
commit
eb2af86028
1 changed files with 2 additions and 2 deletions
|
|
@ -342,7 +342,7 @@ uint8_t IBMPCConverter::process_interface(void)
|
||||||
// https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ab90
|
// https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ab90
|
||||||
// https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ab91
|
// https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ab91
|
||||||
|
|
||||||
xprintf("\n5576_CS82h:");
|
xprintf("\n5576_CS82h: ");
|
||||||
keyboard_kind = PC_AT;
|
keyboard_kind = PC_AT;
|
||||||
if ((0xFA == ibmpc.host_send(0xF0)) &&
|
if ((0xFA == ibmpc.host_send(0xF0)) &&
|
||||||
(0xFA == ibmpc.host_send(0x82))) {
|
(0xFA == ibmpc.host_send(0x82))) {
|
||||||
|
|
@ -350,7 +350,7 @@ uint8_t IBMPCConverter::process_interface(void)
|
||||||
// https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ibm-5576-scan-codes-set
|
// https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ibm-5576-scan-codes-set
|
||||||
xprintf("OK ");
|
xprintf("OK ");
|
||||||
} else {
|
} else {
|
||||||
xprintf("NG ");
|
xprintf("NG \nTelevideo: ");
|
||||||
if (0xAB91 == keyboard_id) {
|
if (0xAB91 == keyboard_id) {
|
||||||
// This must be a Televideo DEC keyboard, which piggybacks on the same keyboard_id as IBM 5576-003
|
// This must be a Televideo DEC keyboard, which piggybacks on the same keyboard_id as IBM 5576-003
|
||||||
// This keyboard normally starts up using code set 1, but we request code set 2 here:
|
// This keyboard normally starts up using code set 1, but we request code set 2 here:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue