Merge pull request #815 from reicast/holzhaus/improve-man-pages
Improve man pages
This commit is contained in:
commit
4fa0119f24
|
@ -305,12 +305,23 @@ install: $(EXECUTABLE)
|
|||
install -m644 mappings/controller_xpad.cfg $(DESTDIR)$(PREFIX)/share/reicast/mappings
|
||||
install -m644 mappings/keyboard.cfg $(DESTDIR)$(PREFIX)/share/reicast/mappings
|
||||
install -m644 man/reicast.1 $(DESTDIR)$(MAN_DIR)
|
||||
install -m644 man/reicast-joyconfig.1 $(DESTDIR)$(MAN_DIR)
|
||||
install -m644 reicast.desktop $(DESTDIR)$(MENUENTRY_DIR)
|
||||
install -m644 reicast.png $(DESTDIR)$(ICON_DIR)
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/$(EXECUTABLE)
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/reicast-joyconfig
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/reicast/mappings/controller_gcwz.cfg
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/reicast/mappings/controller_generic.cfg
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/reicast/mappings/controller_pandora.cfg
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/reicast/mappings/controller_xboxdrv.cfg
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/reicast/mappings/controller_xpad.cfg
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/reicast/mappings/keyboard.cfg
|
||||
rm -f $(DESTDIR)$(MAN_DIR)/reicast.1
|
||||
rm -f $(DESTDIR)$(MAN_DIR)/reicast-joyconfig.1
|
||||
rm -f $(DESTDIR)$(MENUENTRY_DIR)/reicast.desktop
|
||||
rm -f $(DESTDIR)$(ICON_DIR)/reicast.png
|
||||
|
||||
clean:
|
||||
rm -f $(OBJECTS) $(EXECUTABLE) $(EXECUTABLE_STRIPPED) .map
|
||||
|
|
|
@ -0,0 +1,74 @@
|
|||
.\" retroarch.1:
|
||||
|
||||
.TH "REICAST-JOYCONFIG" "1" "August 27, 2015" "REICAST-JOYCONFIG" "reicast-joyconfig"
|
||||
|
||||
.SH NAME
|
||||
|
||||
reicast-joyconfig \- An editor for Reicast controller mappings.
|
||||
|
||||
.SH SYNOPSIS
|
||||
|
||||
\fBreicast-joyconfig\fR [-h | [-d DEVICE_ID] [-f FILE]]
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
|
||||
\fBreicast-joyconfig\fR assists you when creating custom mappings for the \fBreicast\fR Dreamcast emulator.
|
||||
|
||||
.SH "EXAMPLE COMMANDLINE"
|
||||
|
||||
.TP
|
||||
\fBNo command line options will give you a list of devices that you can choose from and then start the mapping assistant.\fR
|
||||
reicast-joyconfig
|
||||
|
||||
.TP
|
||||
\fBCreate a mapping for /dev/input/event3.\fR
|
||||
reicast-joyconfig -d 3
|
||||
|
||||
.TP
|
||||
\fBCreate a mapping for /dev/input/event3 and save the mapping file to ~/.reicast/mappings/my_mapping.cfg.\fR
|
||||
reicast-joyconfig -d 3 -f ~/.reicast/mappings/my_mapping.cfg
|
||||
|
||||
.SH "GENERAL OPTIONS"
|
||||
|
||||
.TP
|
||||
\fB-h\fR, \fB--help\fR
|
||||
Show a short help text.
|
||||
|
||||
.TP
|
||||
\fB-d DEVICE_ID\fR, \fB--device-id DEVICE_ID\fR
|
||||
Create a mapping for a specific device. The device ID is the number X from /dev/input/eventX.
|
||||
|
||||
\fB-f FILE\fR, \fB--file FILE\fR
|
||||
Save the created mapping to a file. By default, the mapping will be printed to the standard output.
|
||||
|
||||
.SH "KNOWN ISSUES"
|
||||
|
||||
If you're using a wireless controller, please make sure it is on before creating a mapping. Some controllers emit "Button Pressed/Released" signals when turning them on, which may lead to wrongly mapped keys.
|
||||
|
||||
.SH "PYTHON VERSION"
|
||||
|
||||
.TP
|
||||
\fBreicast-joyconfig\fR is written in Python and needs the evdev module to work:
|
||||
\fIhttps://pypi.python.org/pypi/evdev\fP
|
||||
|
||||
.TP
|
||||
Distributions like Ubuntu have the evdev module as a package in their repositories - in these cases you should use your package manager instead of pip to install it.
|
||||
|
||||
.TP
|
||||
Although \fBreicast-joyconfig\fR does support both Python 2.6 or higher and 3.0 or higher, you need to run \fBreicast-joyconfig\fR with the same Python version that you installed the evdev module for, i.e. if you installed the evdev module for Python 2, you also need to run \fBreicast-joyconfig\fR using Python 2 and vice-versa.
|
||||
|
||||
.SH "AUTHOR"
|
||||
|
||||
.TP
|
||||
\fBreicast\fR is developed by a number of people. A list of contributors can be obtained at:
|
||||
\fIhttps://github.com/reicast/reicast-emulator/graphs/contributors\fP
|
||||
|
||||
.TP
|
||||
Head over to reicast's git repository if you want to contibute:
|
||||
\fIhttps://github.com/reicast/reicast-emulator\fP
|
||||
|
||||
.TP
|
||||
This is free software; you can redistribute it and/or modify it under the terms of the GNU Public License (Version 2).
|
||||
|
||||
.SH "SEE ALSO"
|
||||
\fBreicast\fR(1)
|
|
@ -49,9 +49,22 @@ If you do not supply these files, \fBreicast\fR will fall back to reios, an expe
|
|||
[input]
|
||||
.br
|
||||
evdev_device_id_1 = X
|
||||
.br
|
||||
evdev_mapping_1 = my_mapping.cfg
|
||||
.LP
|
||||
|
||||
If the evdev input works for you, it's probably best to deaktivate the legacy joystick API input:
|
||||
You can create your own mappings with the \fBreicast-joyconfig\fR tool. You should either put them into the "mappings" folder inside the reicast config directory. As an alternative, you can specify an absolute path (which has to begin with a leading slash "/"):
|
||||
.IP
|
||||
[input]
|
||||
.br
|
||||
evdev_device_id_1 = X
|
||||
.br
|
||||
evdev_mapping_1 = /path/to/my_mapping.cfg
|
||||
.LP
|
||||
|
||||
If you don't specify a mapping file, \fBreicast\fR will use one of the pre-defined mapping files (e.g. for Xbox 360 controllers).
|
||||
|
||||
If the evdev input works for you, it's probably best to deactivate the legacy joystick API input:
|
||||
|
||||
.IP
|
||||
[input]
|
||||
|
@ -88,3 +101,6 @@ Head over to reicast's git repository if you want to contibute:
|
|||
|
||||
.TP
|
||||
This is free software; you can redistribute it and/or modify it under the terms of the GNU Public License (Version 2).
|
||||
|
||||
.SH "SEE ALSO"
|
||||
\fBreicast-joyconfig\fR(1)
|
Loading…
Reference in New Issue