keyboard is a Solidtek_ACK-571
control URC 8910
any help would be really appreciated
best regards
HP
Note: the files on the file section do not have the key that i need.
Moderator: Moderators
can some body explain how he do the logical comparisonjon_armstrong wrote:I'm on a trip, but when I get home, I can send you an Excel spreadsheet that will decode the learned commands, but it's really pretty easy:digitalcujo wrote:... in the future, if I want to learn more keyboard keys and update the function code, how do find the hex function code from the raw data?
This is the learned command for numeral 1:
+1014 -876 +208 -678 +208 -678 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -678 +208 -284 +806 -77224 +1014 -876 +208 -678 +208 -678 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +806 -130264
You only need to worry about the first frame that is separated from the second by a -77224:
+1014 -876 +208 -678 +208 -678 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -284 +208 -678 +208 -284 +806 -77224
The
+1014 -876 is a lead-in
The first eight burst pairs are what I called the variable data
+208 -678 Logical 1
+208 -678 Logical 1
+208 -284 Logical 0
+208 -284 Logical 0
+208 -284 Logical 0
+208 -284 Logical 0
+208 -284 Logical 0
+208 -284 Logical 0
Or 11000000 that is 192 decimal or hex C0
+208 -284 Logical 0
+208 -678 Logical 1
+208 -284 Logical 0
This is the "device" code and the new protocol changes the 1 in the second frame to 0 that signifies a release. (But this has already been entered in KM Master and the protocol handles the middle bit.)
+806 -77224 is the Lead-out
So just calculate the first 8-bits and convert to hex. You need to add a "h" without the quotes to tell KM Master that it is a hex value or hC0.
Mike, thanks for the explanation, the disassembly/re-assembly feature in PB is really cool.