Jump to content

joytick en super tux


Recommended Posts

hola amigos en un foro encontre esto para instalar un joytick en super tux pero como lo hago esa es la pregunta

bueno espero que alguien me cuente como es la cosa ya que hace una semana que me pase a ubuntu

bueno saludos a todos gracias

 

Configurar joystik para SuperTux

Acabo de instalar Red Star (la estrella roja) y estaba el juego SuperTux instalado, y como tengo tiempo libre hoy, me puse a jugarlo. Pero me puse a pensar que con un joystick el juego iba a ser mas entretenido, asi que lo busque y los instale, pero no estaba configurado y no andaba con el juego (supertux)

 

Para instalar, simplemente ejecutamos:

 

$ sudo apt-get install supertux

 

 

 

Pero busque un poco de info y lo hice andar:

 

Modifique el archivo

 

 

 

$ kate ~/.supertux/config

 

 

o

$ gedit ~/.supertux/config

 

 

 

borramos el contenido, y agregamos esto:

 

(supertux-config

;; the following options can be set to #t or #f:

(fullscreen #t)

(sound #f)

(music #f)

(show_fps #t)

 

;; either "opengl" or "sdl"

(video "sdl")

 

;; joystick number (-1 means no joystick):

(joystick 0)

(joystick-x 0)

(joystick-y 1)

(joystick-a 2)

(joystick-b 1)

(joystick-start 9)

(joystick-deadzone 4096)

(keyboard-jump 32)

(keyboard-duck 274)

(keyboard-left 276)

(keyboard-right 275)

(keyboard-fire 306)

)

 

 

 

ya encontre el problema amigos

 

abrimos terminal colocamos gedit ~/.supertux/config le damos ENTER se abre un block de notas

borramos todo y colocamos

 

(supertux-config

;; the following options can be set to #t or #f:

(fullscreen #t)

(sound #f)

(music #f)

(show_fps #t)

 

;; either "opengl" or "sdl"

(video "sdl")

 

;; joystick number (-1 means no joystick):

(joystick 0)

(joystick-x 0)

(joystick-y 1)

(joystick-a 2)

(joystick-b 1)

(joystick-start 9)

(joystick-deadzone 4096)

(keyboard-jump 32)

(keyboard-duck 274)

(keyboard-left 276)

(keyboard-right 275)

(keyboard-fire 306)

)

 

guardamos y listo ya tenemos joytick configurado

 

Edited by fox29
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...