In order to avoid the non desired buttons that are pressed, you have to add this file in the path /var/lib/sixad/profiles
The name of the file must be “default”, with permissions 777 (sudo chmod 777 default), and the content must be something like this, paying special attention to the options “enable sensitive buttons” and enable_accel:
enable_leds 1
enable_joystick 1
enable_input 0
enable_remote 0
enable_rumble 0
enable_timeout 0
led_n_auto 0
led_n_number 0
led_anim 1
enable_buttons 1
enable_sbuttons 0
enable_axis 1
enable_accel 0
enable_accon 0
enable_speed 0
enable_pos 0