Commit 6d0b842d3bf0cc027dcff57a89fb8a6b1fd610e1
1 parent
bbc15f46fe
Exists in
master
and in
4 other branches
Fix CRLF line endings in Documentation/input/iforce-protocol.txt
Emil Medve points out that this documentation file uses CRLF line endings, which means that if you use [core] autocrlf=input (which makes sense if you ever develop under Windows, for example, or if you use other broken tools) in your git config, git will always complain about the file being dirty. This removes the bogus DOS line endings, and removes whitespace at the end of line. Cc: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 254 additions and 254 deletions Side-by-side Diff
Documentation/input/iforce-protocol.txt
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 | Val 40 Spring (Force = f(pos)) |
68 | 68 | Val 41 Friction (Force = f(velocity)) and Inertia (Force = f(acceleration)) |
69 | 69 | |
70 | - | |
70 | + | |
71 | 71 | 02 Axes affected and trigger |
72 | 72 | Bits 4-7: Val 2 = effect along one axis. Byte 05 indicates direction |
73 | 73 | Val 4 = X axis only. Byte 05 must contain 5a |
... | ... | @@ -176,7 +176,7 @@ |
176 | 176 | Query the product id (2 bytes) |
177 | 177 | |
178 | 178 | **** Open device **** |
179 | -QUERY = 4f ('O'pen) | |
179 | +QUERY = 4f ('O'pen) | |
180 | 180 | No data returned. |
181 | 181 | |
182 | 182 | **** Close device ***** |
... | ... | @@ -184,7 +184,7 @@ |
184 | 184 | No data returned. |
185 | 185 | |
186 | 186 | **** Query effect **** |
187 | -QUERY = 45 ('E') | |
187 | +QUERY = 45 ('E') | |
188 | 188 | Send effect type. |
189 | 189 | Returns nonzero if supported (2 bytes) |
190 | 190 | |
191 | 191 | |
... | ... | @@ -199,12 +199,12 @@ |
199 | 199 | OP= 40 <idx> <val> [<val>] |
200 | 200 | LEN= 2 or 3 |
201 | 201 | 00 Idx |
202 | - Idx 00 Set dead zone (0..2048) | |
203 | - Idx 01 Ignore Deadman sensor (0..1) | |
204 | - Idx 02 Enable comm watchdog (0..1) | |
205 | - Idx 03 Set the strength of the spring (0..100) | |
202 | + Idx 00 Set dead zone (0..2048) | |
203 | + Idx 01 Ignore Deadman sensor (0..1) | |
204 | + Idx 02 Enable comm watchdog (0..1) | |
205 | + Idx 03 Set the strength of the spring (0..100) | |
206 | 206 | Idx 04 Enable or disable the spring (0/1) |
207 | - Idx 05 Set axis saturation threshold (0..2048) | |
207 | + Idx 05 Set axis saturation threshold (0..2048) | |
208 | 208 | |
209 | 209 | **** Set Effect State **** |
210 | 210 | OP= 42 <val> |