Linux GamePad config

Discussion in 'General Discussion' started by Tritlo, Feb 16, 2014.

  1. Tritlo

    Tritlo Poptop Tamer

    Hi all,

    I managed to get my Logitech Rumble F510 GamePad to work with TAG, by simply mapping the D-pad and buttons to the TAG buttons.

    Heres the config. If you have the xf86-input-joystick installed, you can save this config to /etc/X11/xorg.conf.d/50-joystick.conf, and it should just work.

    Code:
    Section "InputClass"
        Identifier "joystick catchall"
        MatchIsJoystick "on"
        MatchDevicePath "/dev/input/event*"
        #Option "StartKeysEnabled" "False"
        #Option "StartMouseEnabled" "False"
        Option "MapButton1" "key=52"
        Option "MapButton2" "key=53"
        Option "MapButton3" "key=38"
        Option "MapButton4" "key=39"
        Option "MapButton8" "key=9"
        Option "MapAxis1" "mode=none"
        Option "MapAxis2" "mode=none"
        Option "MapAxis3" "mode=none"
        Option "MapAxis4" "mode=none"
        Option "MapAxis5" "mode=none"
        Option "MapAxis6" "mode=none"
        Option "MapAxis7" "mode=accelerated keylow=113 keyhigh=114"
        Option "MapAxis8" "mode=accelerated keylow=111 keyhigh=116"
        Driver "joystick"
    EndSection
    
     

    Share This Page