110 lines
3.5 KiB
Plaintext
110 lines
3.5 KiB
Plaintext
# Example xorg.conf.d snippet that assigns the joystick driver
|
|
# to all joysticks. See xorg.conf.d(5) for more information on
|
|
# InputClass.
|
|
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
|
|
# it when updating. Copy (and rename) this file into
|
|
# /etc/X11/xorg.conf.d first.
|
|
# Additional options may be added in the form of
|
|
# Option "OptionName" "value"
|
|
#
|
|
|
|
Section "InputClass"
|
|
Identifier "joystick-all"
|
|
|
|
# Note, that enabling this by default without explicit user
|
|
# consent might result in unexpected behaviour for those,
|
|
# that do not know that this module has been installed.
|
|
|
|
# UNCOMMENT TO ENABLE HOTPLUGGING OF JOYSTICKS
|
|
# Driver "joystick"
|
|
# MatchIsJoystick "on"
|
|
# MatchDevicePath "/dev/input/event*"
|
|
|
|
# UNCOMMENT TO SET THE DEVICE FLOATING ON HOTPLUG
|
|
# Option "Floating" "true"
|
|
|
|
Option "MapButton1" "button=1"
|
|
Option "MapButton2" "button=2"
|
|
Option "MapButton3" "button=3"
|
|
|
|
Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
|
|
Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
|
|
Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
|
|
Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
|
|
Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
|
|
Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
|
|
|
|
|
|
# Map Alt+Tab to button #4
|
|
# Option "MapButton4" "key=64+23"
|
|
|
|
# Button 8 will slow down all movement to factor 0.3
|
|
# Option "MapButton8" "amplify=0.3"
|
|
|
|
# Button 9 will disable all events except button #9 itself
|
|
# Option "MapButton9" "disable-all"
|
|
|
|
# Map button #10 to Space
|
|
# Option "MapButton10" "key=65"
|
|
|
|
# Map axis #1 and #2 to the keycodes for Left, Right, Up and Down rather
|
|
# than pointer movement
|
|
# Option "MapAxis1" "mode=accelerated keylow=113 keyhigh=114"
|
|
# Option "MapAxis2" "mode=accelerated keylow=111 keyhigh=116"
|
|
|
|
# Option "XkbLayout" "de"
|
|
# Option "XkbVariant" "nodeadkeys"
|
|
# Option "AutoRepeat" "400 25"
|
|
EndSection
|
|
# Example xorg.conf.d snippet that assigns the joystick driver
|
|
# to all joysticks. See xorg.conf.d(5) for more information on
|
|
# InputClass.
|
|
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
|
|
# it when updating. Copy (and rename) this file into
|
|
# /etc/X11/xorg.conf.d first.
|
|
# Additional options may be added in the form of
|
|
# Option "OptionName" "value"
|
|
#
|
|
|
|
Section "InputClass"
|
|
Identifier "joystick-all"
|
|
|
|
# UNCOMMENT TO ENABLE HOTPLUGGING OF JOYSTICKS
|
|
# Driver "joystick"
|
|
# MatchIsJoystick "on"
|
|
# MatchDevicePath "/dev/input/event*"
|
|
|
|
Option "MapButton1" "button=1"
|
|
Option "MapButton2" "button=2"
|
|
Option "MapButton3" "button=3"
|
|
|
|
Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
|
|
Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
|
|
Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
|
|
Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
|
|
Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
|
|
Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
|
|
|
|
|
|
# Map Alt+Tab to button #4
|
|
# Option "MapButton4" "key=64+23"
|
|
|
|
# Button 8 will slow down all movement to factor 0.3
|
|
# Option "MapButton8" "amplify=0.3"
|
|
|
|
# Button 9 will disable all events except button #9 itself
|
|
# Option "MapButton9" "disable-all"
|
|
|
|
# Map button #10 to Space
|
|
# Option "MapButton10" "key=65"
|
|
|
|
# Map axis #1 and #2 to the keycodes for Left, Right, Up and Down rather
|
|
# than pointer movement
|
|
# Option "MapAxis1" "mode=accelerated keylow=113 keyhigh=114"
|
|
# Option "MapAxis2" "mode=accelerated keylow=111 keyhigh=116"
|
|
|
|
# Option "XkbLayout" "de"
|
|
# Option "XkbVariant" "nodeadkeys"
|
|
# Option "AutoRepeat" "400 25"
|
|
EndSection
|