Documented --name and --device-name

This commit is contained in:
Ingo Ruhnke 2011-01-29 05:37:19 +01:00
parent 6ded8063af
commit ae88f9f382
3 changed files with 36 additions and 13 deletions

13
TODO
View file

@ -44,21 +44,12 @@ Stuff to do before 0.7.1 release:
* how exactly does daemon interact with wireless pads?! allow --wid --id for daemon
* make --led LED part of ControllerSlotOptions to use with multiple controller
* make more use of percentance values (in deadzone filter for example)
* add option to increase libusb debug level
* document --device-name TYPE.SLOT=NAME, --name
* add --device-usbid TYPE.SLOT=VENDOR:PRODUCT:VERSION
* fix device name of mimic_xpad
* allow multiple controllers in non-daemon mode
* improve output in daemon mode, when --quiet is not given print the
number of allocated controller slots
@ -101,6 +92,10 @@ Stuff to do before 0.7.1 release:
Stuff to do before 0.7.2 release:
=================================
* allow multiple controllers in non-daemon mode
* make more use of percentance values (in deadzone filter for example)
* add extra arguments to --on-connect and --on-disconnect (controller name, usb path, etc.)
* boost::lexical_cast<> error messages are useless, make some better ones

View file

@ -958,8 +958,19 @@ joystick device. This option disables that automatism
and all events will go to the same virtual device.
Manual assignment to a specific device is still possible.
.TP
\*(T<\fB\-\-name DEVNAME\fR\*(T>
Changes the descriptive name the device will have.
\*(T<\fB\-\-name NAME\fR\*(T>
Changes the descriptive name the device will have. This
options acts the same as
--device-name \fICURRENTSLOT\fR.auto=\fINAME\fR
.TP
\*(T<\fB\-\-device\-name TYPE.SLOT=NAME\fR\*(T>
Changes the descriptive name the device will
have. \fITYPE\fR is one of mouse,
keyboard, joystick, auto
or a number. \fISLOT\fR is a slot
number or auto.
The auto name acts as wild card and
matches everything.
.TP
\*(T<\fB\-\-ui\-clear\fR\*(T>
Removes all uinput mappings and will leave the driver in

View file

@ -1457,10 +1457,27 @@ pos = (1.0f - (1.0f - pos) ** t) ** (1 / t);]]></programlisting>
</varlistentry>
<varlistentry>
<term><option>--name DEVNAME</option></term>
<term><option>--name NAME</option></term>
<listitem>
<para>
Changes the descriptive name the device will have.
Changes the descriptive name the device will have. This
options acts the same as
--device-name <replaceable>CURRENTSLOT</replaceable>.auto=<replaceable>NAME</replaceable>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--device-name TYPE.SLOT=NAME</option></term>
<listitem>
<para>
Changes the descriptive name the device will
have. <replaceable>TYPE</replaceable> is one of <constant>mouse</constant>,
<constant>keyboard</constant>, <constant>joystick</constant>, <constant>auto</constant>
or a number. <replaceable>SLOT</replaceable> is a slot
number or <constant>auto</constant>.
The <constant>auto</constant> name acts as wild card and
matches everything.
</para>
</listitem>
</varlistentry>