X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fibm4704_usb%2Fibm4704.txt;h=73c8a3b9ff2bf3a1fc014237e91ff97675ab1555;hb=d0b91ca319074de9e9640977c7dfae336adfba3e;hp=50d8c98b0865bc394ae6736e55e875d3b02c2f8a;hpb=9a2282157fbdf57ef0a50d4fea7da72505906588;p=max%2Ftmk_keyboard.git diff --git a/converter/ibm4704_usb/ibm4704.txt b/converter/ibm4704_usb/ibm4704.txt index 50d8c98b..73c8a3b9 100644 --- a/converter/ibm4704_usb/ibm4704.txt +++ b/converter/ibm4704_usb/ibm4704.txt @@ -152,12 +152,16 @@ Keyobard sends these bytes to host. FD Command out of bound 00d8h Key out of bound 7E Read/Parity error in receive from host 00bch + 80-FB? scan code(make) + 00-7B? scan code(break) + note: Alps model spits scan code 7B(FB) at least. Set Key Flag command(FC) ------------------------ After 'Power on Reset' firmware enters this command mode and waits for data from host, so that you don't need to send 'FC' and it doesn't send any scancode until you send 'FF'. +With Alps models you need to send 'FC' command to enter this mode. Data sent from host: @@ -166,16 +170,17 @@ Data sent from host: | `-----`--- scan code `------------- enable bit(0: enable repeat, 1: enable break) - 00-77 Enable repeat(78-7F: invalid scancode) - 80-F7 Enable break(F8-FF: invalid scancode) + 00-7B? Enable repeat + 80-FB? Enable break FE Resend(011ah) no need to use FF End(0114h) exits FC command mode. Response from keyboard: FD Out of bound - Invalid scancode + -- OK - No response means that command is accepted. Examples: To enable break code of all keys. - FC 80 81 ... F7 FF + FC 80 81 ... FB FF