Author Topic: Moving around using a Joystick?  (Read 2828 times)

DeepThought

  • Posts: 3
  • Turrets: +0/-0
Moving around using a Joystick?
« on: April 11, 2007, 09:19:46 pm »
Hello!

Recently I broke my arm (while skateboarding :D ), so I can't use my left arm for moving - since I can't push wasd-buttons in a proper way.

But then I got this crazy idea: to use the joystick for moving! Does anyone know how to use my joystick for the moving? I can't find out what I am supposed to bind to make the stick-movements result in a in-game-movement.

I have activated the Joystick via the \in_joystick 1 command, and I can bind i.e. attack to any of the Joystick buttons (like \bind joy1 +attack). I am sure that Tremulous finds my Joystick (it actually even detects what model it is!), but I have no clue how to make movement using stick work.

Does anyone know how to do it?



I'm running Tremulous under Ubuntu Edgy 6.10 (Linux, that is ;)), and the joystick is a Logitech WingMan Interceptor.

I also have tried using the program joy2key, but can't make it use Tremulous as the target for the joystick-movements, so if anyone know how to do this (or have a similar solution), that would be nice too :D

Thanks in advance!


EDIT: The program I tried was joy2key, not joy2bind

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Moving around using a Joystick?
« Reply #1 on: April 12, 2007, 01:31:41 am »
I don't know how but it IS possible. Xovan plays that way all the time.

DeepThought

  • Posts: 3
  • Turrets: +0/-0
Moving around using a Joystick?
« Reply #2 on: April 12, 2007, 12:38:12 pm »
Good to know, at least :)

If this Xovan comes by (or if someone meet him/her), could you check how it is done, and post it here, please? :roll:

tomek-k

  • Guest
Moving around using a Joystick?
« Reply #3 on: April 12, 2007, 03:13:59 pm »
Quote from: "DeepThought"
Good to know, at least :)

If this Xovan comes by (or if someone meet him/her), could you check how it is done, and post it here, please? :roll:


maby just PM him

DeepThought

  • Posts: 3
  • Turrets: +0/-0
Moving around using a Joystick?
« Reply #4 on: April 12, 2007, 03:57:37 pm »
I solved it!

I just started the game, but before I made sure that all the needed modules were loaded:

$ sudo modprobe joydev
$ sudo modprobe adi <-- this is for my Joystick, you'll probably need a different  module if you've got a different stick


In-game I opened a console and typed in

\in_joystick 1
\in_restart <-- not sure of this one, maybe I just restarted the game :-?

And then I made sure the bindings were correct:
Left bound to LEFTARROW
Right bound to ... etc.

I have no idea why it didn't work in the first place, but now it does!

Thank you all, anyway! :D