This file is indexed.

/usr/share/psychtoolbox-3/PsychContributed/52-MyLinuxJoystick.conf is in psychtoolbox-3-common 3.0.11.20140816.dfsg1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
# Set special options for all joystick devices:
# See "man xorg.conf" for general parameters,
# "man joystick" for joystick specific parameters.
#
# Save this file as...
# /usr/share/X11/xorg.conf.d/52-MyJoystick.conf
# or (preferred) as...
# /etc/X11/xorg.conf.d/52-MyJoystick.conf
#
# The xf86-input-joystick driver must be installed
# on your system, e.g., via:
#
# sudo apt-get install xf86-input-joystick
#
# You must logout and login once after installing
# the driver and this file for settings to take
# effect.
#
# (w) 2012 by Mario Kleiner.

Section "InputClass"
	# Assign some name to this configuration:
	Identifier "My Joystick configuration"

	# Apply to all joystick devices:
	MatchIsJoystick "on"
	MatchDevicePath "/dev/input/event*"

	# Use 'joystick' driver to control them:
	Driver "joystick"

	# Detach from regular mouse and keyboard, ie.
	# joysticks shall not act as mice or keyboards:
	Option "Floating" "on"
	Option "StartKeysEnabled"  "False"
	Option "StartMouseEnabled" "True"

	# Assign joystick buttons to logical buttons:
	Option "MapButton1"	"button=1"
	Option "MapButton2"	"button=2"
	Option "MapButton3"	"button=3"
	Option "MapButton4"	"button=4"

	# Map joystick axis 1 and 2 (stick deflection)
	# to horizontal axis x and y if used as joystick.
	# Expose raw axis values in additional valuators.
	# Define all values < 5000 as zero.
	# This will expose axis 1 and 2 of the joystick
	# as additional axis 3 and 4 with raw values:
	Option "MapAxis1"	"mode=relative axis=x valuator deadzone=5000"
        Option "MapAxis2"       "mode=relative axis=y valuator deadzone=5000"

	# Map joystick axis 3 (e.g., throttle) to
	# additional valuator axis 5:
        Option "MapAxis3"       "valuator deadzone=5000"
EndSection