From: johann d. <jd...@us...> - 2001-10-26 21:10:37
|
Update of /cvsroot/linuxconsole/ruby/linux/Documentation/input In directory usw-pr-cvs1:/tmp/cvs-serv7158 Modified Files: iforce-protocol.txt Log Message: Fixed some details about the encoding of values for interactive effects. For some mysterious reasons, they do not follow the same rules as other effects. Index: iforce-protocol.txt =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/Documentation/input/iforce-protocol.txt,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- iforce-protocol.txt 2001/08/04 09:34:44 1.11 +++ iforce-protocol.txt 2001/10/26 21:10:35 1.12 @@ -86,12 +86,16 @@ LEN= 0a 00-01 Address 02 Positive Coeff -03 Negative Coeff (Val 14 = 2000 (decimal)) -04 Offset (Val 64 = 2000 (decimal)) | center ? -05 ??? Val = 00 | +03 Negative Coeff +04+05 Offset (center) 06+07 Dead band (Val 01F4 = 5000 (decimal)) 08 Positive saturation (Val 0a = 1000 (decimal) Val 64 = 10000 (decimal)) 09 Negative saturation + +The encoding is a bit funny here: For coeffs, these are signed values. The +maximum value is 64 (100 decimal), the min is 9c. +For the offset, the minimum value is FE0C, the maximum value is 01F4. +For the deadband, the minimum value is 0, the max is 03E8. ** Controls ** OP= 41 |