[go: up one dir, main page]

Menu

[ac6419]: / man / loadmap.1  Maximize  Restore  History

Download this file

68 lines (67 with data), 2.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.TH LOADMAP "1" "Feb 2008" "joymap 0.5.0" "User Commands"
.SH NAME
loadmap - load a joystick mapping
.SH SYNOPSIS
.B loadmap
[\fI-8\fR] [\fi-d\fR] [-b] [--event_dev dev] [--uinput_dev dev] [\fIFILE\fR]
.SH DESCRIPTION
.\" Add any additional description here
.PP
Load a joystick mapping, that is create the neccessary joysticks,
configure the number of axes and buttons and relay events from
the physical joysticks to the virtual joysticks. The mapping can
also map to mouse or keyboard events. Read the \fBConfiguration guide\fR
and \fBProgramming guide\fR for more details.
.PP
This program takes one argument, the file to read the configuration
from. If no argument is specified then \fBstdin\fR is used instead.
.PP
Additional flags:
.TP
-s
Don't register unused axes and buttons. Normally loadmap registers
all axes and buttons up to the highest programmed axis or button. (Also --skip)
.TP
-c
Use provided information from input devices to calibrate input to -32767 to 32767
.TP
-8
Convert reported event range from 0-255 to -32767 to 32767
.TP
-d
Dynamically (during use) compute calibration value so that events are reported in the range -32767 to 32767.
.TP
-b
Run in the background and terminate any existing loadmap processes. (Also --daemon or --background)
.TP
--nolock
Don't lock the joystick devices for the exlusive use of loadmap (default is to lock)
.TP
--ffconst
Pretend to have force feedback constant, map it to periodic. Some wine emulated games need this to have any force feedback.
.TP
-k
Kill any running loadmap processes. (Also --kill)
.TP
--event_dev dev
The event device to use, defaults to /dev/input/event
.TP
--uinput_dev dev
The uinput device to register with, defaults to /dev/uinput
.PP
.SH EXIT STATUS
.PP
Exit status is 0 if OK, 1 otherwise.
.PP
.SH ENVIRONMENT
.TP
JOYMAP_PATH
A colon separated list of paths to search for configurtion and code files, if relative filenames are provided.
.SH AUTHOR
Written by Alexandre Hardy.
.SH "REPORTING BUGS"
Report bugs to <alexandre.hardy@gmail.com>.
.SH "LICENSE"
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.