#
# sample configuration file for joyd
#
# This helps you to find out the numbers of your buttons and axes.
# Use ctrl-c to quit joyd.
#

[general]
# Some general settings
device 	/dev/js0
daemon	1
debug	1
stdout	0
syslog	1
calmin	-16384
calmax	16383

[actions]
# These are the buttons that can be pressed
0	1	/bin/echo Button 1
0	2	/bin/echo Button 2
0	4	/bin/echo Button 3
0	8	/bin/echo Button 4
0	16	/bin/echo Button 5
0	32	/usr/bin/aumix -v -10
0	64	/bin/echo Button 7
0	128	/usr/bin/aumix -v +10
0	256	/bin/echo Button 9
0	512	/bin/echo Button 10

# These are the axes
1	0	/bin/echo Axis 1 low value
2	0	/bin/echo Axis 1 high value
4	0	/bin/echo Axis 2 low value
8	0	/bin/echo Axis 2 high value
16	0	/bin/echo Axis 3 low value
32	0	/bin/echo Axis 3 high value
64	0	/bin/echo Axis 4 low value
128	0	/bin/echo Axis 4 high value
256	0	/bin/echo Axis 5 low value
512	0	/bin/echo Axis 5 high value
1024	0	/bin/echo Axis 6 low value
2048	0	/bin/echo Axis 6 high value
