Skip to content

Commit

Permalink
Input: use svg files instead of xfig in force feedback documentation
Browse files Browse the repository at this point in the history
Now that the images got converted to svg, add them at the
ff.rst file.

NOTE: After merging upstream, the "figure" tag should be
replaced by the new "kernel-figure" tag, in order for the
SVG images to be included at the PDF files.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Mauro Carvalho Chehab authored and Dmitry Torokhov committed Apr 5, 2017
1 parent b1abcde commit deeb1e9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Documentation/input/ff.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Force feedback for Linux
:Author: Johann Deneux <johann.deneux@gmail.com> on 2001/04/22.
:Updated: Anssi Hannula <anssi.hannula@gmail.com> on 2006/04/09.

You may redistribute this file. Please remember to include shape.fig and
interactive.fig as well.
You may redistribute this file. Please remember to include shape.svg and
interactive.svg as well.

Introduction
~~~~~~~~~~~~
Expand Down Expand Up @@ -127,8 +127,15 @@ allocate a new effect.
Effects are file descriptor specific.

See <linux/input.h> for a description of the ff_effect struct. You should also
find help in a few sketches, contained in files shape.fig and interactive.fig.
You need xfig to visualize these files.
find help in a few sketches, contained in files shape.svg and interactive.svg:

.. figure:: shape.svg

Shape

.. figure:: interactive.svg

Interactive


Removing an effect from the device
Expand Down

0 comments on commit deeb1e9

Please sign in to comment.