Commit Graph

60 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
4a216b5525 configure.ac: use autoconf to generate manpage
Instead of doing separate sed call, use autoconf output.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-12 10:02:29 +01:00
Enrico Weigelt, metux IT consult
0541fbe830 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:29:52 +01:00
Enrico Weigelt, metux IT consult
c0ba3d3707 man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 15:57:09 +01:00
Alan Coopersmith
a8a239fb91 Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-joystick/-/merge_requests/10>
2025-12-09 11:52:28 +01:00
Alan Coopersmith
f6e29f848a Improve man page formatting
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`

Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-joystick/-/merge_requests/9>
2025-06-01 15:36:36 -07:00
Alan Coopersmith
758adebe13 Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 11:01:54 -08:00
Alan Coopersmith
463fd02a4e Fix quoting in man page synopsis section
Fixes: https://gitlab.freedesktop.org/xorg/driver/xf86-input-joystick/issues/1

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-08-16 22:58:22 -07:00
Sascha Hlusiak
b427ad6066 man: more manpage tuning and polishing 2012-10-03 18:44:58 +02:00
Sascha Hlusiak
c473c8bd79 man: mention use cases for when to use the module and when not to 2012-10-03 17:45:00 +02:00
Sascha Hlusiak
56ebbd899f man: some typos and grammar fixes 2012-10-03 16:32:36 +02:00
Peter Hutterer
0303d5418e man: point out that the joystick module is not a joystick driver
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Sascha Hlusiak <saschahlusiak@arcor.de>
2012-10-03 16:07:47 +02:00
Sascha Hlusiak
411c183845 man: valuators are not added automatically 2011-11-13 18:04:25 +01:00
Sascha Hlusiak
b607c4ebee label buttons and axes
Buttons are labeled "Button %d", starting with 0 and representing the button in X _after_ mapping.
Mapping can be changed while running so the labels will be constant.

Axes are labeled "Axis %d", starting with 1, representing the _physical_ axis that reports the valuator
data. The raw valuators can't be dynamically mapped, the first two valuators always are labeled "Rel X"
and "Rel Y", representing the aggregated post-calculation data from all axes.

Signed-off-by: Sascha Hlusiak <saschahlusiak@arcor.de>
2011-10-16 00:47:52 +02:00
Sascha Hlusiak
f1b8ef5600 Updated man page to reflect latest changes 2011-04-20 20:48:28 +02:00
Gaetan Nadon
55783bf0cd config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
Use $(AM_V_GEN)$(SED) to support silent rule

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-11 17:46:37 -04:00
Alan Coopersmith
30d1089cff Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15 15:08:26 -08:00
Sascha Hlusiak
5e2b2a6310 fix manpage and examples to reflect recent key changes 2009-04-15 00:29:44 +02:00
Sascha Hlusiak
4b9aafd82b Mention PWM mode in man page 2009-03-18 18:13:12 +01:00
Paulo Cesar Pereira de Andrade
76b82a41a6 Janitor: make distcheck, .gitignore.
The correction for make distcheck uses the same solution proposed
for xf86-input-evdev, that uses the new configure option --with-sdkdir.

Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2009-02-17 20:06:44 +01:00
Alan Coopersmith
f62159e4df Remove xorgconfig & xorgcfg from See Also list in man page 2009-01-09 16:14:12 -08:00
Sascha Hlusiak
3c2a323a3a Option for per-axis valuators. Defaults to off for all axes.
Old: Each axis had an extra valuator, starting with 2 (0 and 1 are pointer movement)
New: Add "valuator" to axis option to give it an extra valuator of range -32768 to 32768.
Default: Off for all axes, since rarely used (and broken anyway right now).
2008-10-01 21:43:49 +02:00
Christoph Brill
282fc3068e Make "less joystick.man" work 2008-09-07 11:11:50 +02:00
Sascha Hlusiak
9d42b7f972 Update man page concerning custom driver options through hal
Warning is obsoleted by xorg-server-1.5
2008-09-06 12:58:41 +02:00
Matthieu Herrb
ce01777488 Makefile.am: nuke RCS Id 2008-03-08 23:02:08 +01:00
Sascha Hlusiak
94cc174cd8 Added "StartMouseEnabled" and "StartKeysEnabled" options
With the disable-mouse and disable-keys button mapping the event generation can be toggled.
These two options will start X with the event generation already disabled, so it can be
enabled later with the appropriate button mapping. Default: Event generation is enabled.
2008-01-06 18:58:47 +01:00
Sascha Hlusiak
4bf8816620 Changed default deadzone in manpage from 1000 to 5000 2007-12-09 19:22:59 +01:00
Sascha Hlusiak
847c36e113 Typo in man page
Last axis of default axis configurations was #3 instead of #7
2007-12-09 11:54:38 +01:00
Sascha Hlusiak
01637abd2b Mentioned hotplugging and hal policy in man page 2007-12-07 00:17:56 +01:00
Sascha Hlusiak
78616fb817 Mentioned multiple backends in man page 2007-12-05 22:17:36 +01:00
Sascha Hlusiak
68e4850b28 Added AutoRepeat option to specify rate and delay for key events.
So far the autorepeat settings of xorg were used, thus sharing the settings with all other keyboard. This is still the default but the
rate and delay can be changed per device, not conflicting with the settings of other keyboards.
2007-10-10 18:00:59 +02:00
Sascha Hlusiak
15870ef9bf Use XStringToKeysym to parse symbolic keys defined in xorg.conf.
Users can map buttons to "key=space" or "key=Left" to map them to XK_space or XK_Left. As
fallback the numerical expression still works.
2007-10-06 17:28:59 +02:00
Sascha Hlusiak
9e8f8d54bd Updated manpage to reflect keymap changes 2007-10-03 22:46:30 +02:00
Sascha Hlusiak
ca6968c180 Explained new key generation features for axes in man page.
Explained the behaviour of accelerated vs relative axes that are mapped to keys. Added example to man page.
2007-08-12 00:04:35 +02:00
Sascha Hlusiak
b685505f14 Reformatted whole source to 4-space-indents
Large parts of the code were written with 2-space-indents only.
Upgraded to 4-space indents to improve readability. Sorry for touching almost
every line. :-S
2007-08-11 20:47:13 +02:00
Sascha Hlusiak
32c6ba4c29 Added example about mapping axes to keys to manpage. 2007-08-08 15:00:15 +02:00
Sascha Hlusiak
fd83fbc114 Added "keylow" and "keyhigh" option to axes, which generates key events when the axis is moved.
One can specify scancodes for negative and positive axis movement. When the axis is moved out of the deadzone,
keydown events are once generated, and keyrelease events are generated when the axis returns to 0.
One can map a pad to the four arrow keys to play games that do not support a joystick.
2007-08-08 14:52:27 +02:00
Sascha Hlusiak
f4c1519bff Added note about SendCoreEvents keyword to ServerLayout in manpage. 2007-08-08 12:58:30 +02:00
Sascha Hlusiak
382c116887 Added missing section about valuators to manpage
The manpage was missing detailed information about the reported valuators per axis.
Made minor changes of style and grammar.
2007-07-11 03:18:07 +02:00
Sascha Hlusiak
2b54ee1b02 Added notes to the manpage 2007-07-07 22:52:24 +02:00
Sascha Hlusiak
461b57cdb1 Makefile.am: Rule to autogenerate ChangeLog from git on make dist 2007-04-24 22:23:43 -04:00
Sascha Hlusiak
470acec6f4 Cosmetic changes to structs, got rid of XFree86LOADER blocks
The XFree86LOADER is mandatory, without it it wouldn't compile anyway, so checks were deleted.
Named structs in jstk.h again
Added unions for mapping-relative data, given values more telling names
2007-04-15 22:51:35 -04:00
Sascha Hlusiak
fa32161bc5 Replaced xf86CheckXXXOption with xf86SetXXXOption, Fixed possible NULL pointer dereference
Fixed possible NULL pointer dereference in xf86DeleteInput,
reformatted code in bsd_jstk.c
2007-04-11 10:03:23 -04:00
Sascha Hlusiak
7c709f6a8a Added range for absolute axis configuration
Completed man page
2007-03-30 14:25:13 -04:00
Sascha Hlusiak
1cdd0e7498 Allowed axis being actually not mapped to an action
Changed default configuration to the minimum
Fixed that unmapped axis generated movements
2007-03-29 15:14:25 -04:00
Sascha Hlusiak
0a0b5a3e24 Added code to generate key eventy 2007-03-26 18:05:41 -04:00
Sascha Hlusiak
7d3941e47b Added "amplify", "disable-mouse", "disable-keys", "disable-all" options to code and manpage 2007-03-25 20:10:10 -04:00
Sascha Hlusiak
9c12f5c9d9 Removed "amplifier" axis option
Added amplifier as factor to the "axis" option
Updated manpage
2007-03-22 16:43:18 -04:00
Sascha Hlusiak
58abdbe99b Allowed negative amplify value for reverting axis direction 2007-03-22 14:01:01 -04:00
Sascha Hlusiak
35d8ee1bb0 Went back to one timer for all axes
Added "accelerated" axis mode
Added "absolute" axis mode
Added "amplify" axis option
2007-03-21 22:36:46 -04:00
Sascha Hlusiak
b05facffb8 Added axis options 2007-03-20 17:18:34 -04:00