News:

Come Chat with us live! Learn how HERE!

Main Menu

Joystick in Tremulous?

Started by SecondGod, February 04, 2007, 11:31:18 PM

SecondGod

ive been trying to get a joystick to run with tremulous...  ive looked over a few pages in the troubleshooting section but i cant seem to find anything about using a joystick with tremulous, can anyone help me out?

n00b pl0x

its probably not compatible because no1 ever thought of using a joystick with trem o.O
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

SecondGod

it says after i try and change the controls with my joystick that "joystick is not active" theres gotta be a way to do it...   :-?   I hope...

kevlarman

see if you can find a guide to setting up a joystick for quake3 somewhere on the internet, it should be pretty much identical in tremulous (and just in case: make sure the joystick works and your OS recognizes it first)
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

SecondGod

thanks ill check it out...  i know for sure that my PC can recognize and all that ive been using it since ive wanted to use it with tremulous

TinMan

It works the same as it does with Quake 3, google "joystick quake 3"
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

SecondGod

Now I'm just really frustrated... :( I googled Quake 3 joystick and all that, but none of the links turn up with how to activate it.  All the links I've found have been amazon stuff or where to purchase quake 3.  There was the odd thing that contained "Joystick not active"...  Other than that there's nothing.  Can someone please just say how it can be done, it would be much appreciated.

kevlarman

none of us are actually willing to play tremulous wth a joystick, because a mouse is much more useful.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

TinMan

Some of the joystick commands are in here: http://q3console.planetquake.gamespy.com/commands.htm

Pretty much if your joystick works with it then you randomly bind stuff by button number until you get a setup that you like.

@kevlarman
arguable, with the right joystick you can have a variable turn rate and if you're used to it then you'll be good with it. I have different configs for all different inputs and find using a touchpad on a laptop to be easiest and most accurate for me out of touchpad, joystick, mouse, trackball, and keyboard look.
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

SecondGod

Thanks tinman, however, in knowing these joystick commands, where would I apply this?  Inside of Tremulous doesn't allow me to set a joystick, instead it says "Joystick not active".  Is there some sort of file where I have to change outside of Tremulous?

Undeference

in_joystick 1
I tried playing with a joystick for a couple days. If I wanted any degree of actual control, I found I turned way too slow to be effective. I gave up on that and just play with a mouse.
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

a Turret

I was going through \src\client\keycodes.h

and i found a list of buttons (or something like that)


K_NONE = -1,
K_TAB = 9,
K_ENTER = 13,
K_ESCAPE = 27,
K_SPACE = 32,

K_BACKSPACE = 127,

K_COMMAND = 128,
K_CAPSLOCK,
K_POWER,
K_PAUSE,

K_UPARROW,
K_DOWNARROW,
K_LEFTARROW,
K_RIGHTARROW,

K_ALT,
K_CTRL,
K_SHIFT,
K_INS,
K_DEL,
K_PGDN,
K_PGUP,
K_HOME,
K_END,

K_F1,
K_F2,
K_F3,
K_F4,
K_F5,
K_F6,
K_F7,
K_F8,
K_F9,
K_F10,
K_F11,
K_F12,
K_F13,
K_F14,
K_F15,

K_KP_HOME,
K_KP_UPARROW,
K_KP_PGUP,
K_KP_LEFTARROW,
K_KP_5,
K_KP_RIGHTARROW,
K_KP_END,
K_KP_DOWNARROW,
K_KP_PGDN,
K_KP_ENTER,
K_KP_INS,
K_KP_DEL,
K_KP_SLASH,
K_KP_MINUS,
K_KP_PLUS,
K_KP_NUMLOCK,
K_KP_STAR,
K_KP_EQUALS,

K_MOUSE1,
K_MOUSE2,
K_MOUSE3,
K_MOUSE4,
K_MOUSE5,

K_MWHEELDOWN,
K_MWHEELUP,

K_JOY1,
K_JOY2,
K_JOY3,
K_JOY4,
K_JOY5,
K_JOY6,
K_JOY7,
K_JOY8,
K_JOY9,
K_JOY10,
K_JOY11,
K_JOY12,
K_JOY13,
K_JOY14,
K_JOY15,
K_JOY16,
K_JOY17,
K_JOY18,
K_JOY19,
K_JOY20,
K_JOY21,
K_JOY22,
K_JOY23,
K_JOY24,
K_JOY25,
K_JOY26,
K_JOY27,
K_JOY28,
K_JOY29,
K_JOY30,
K_JOY31,
K_JOY32,

K_AUX1,
K_AUX2,
K_AUX3,
K_AUX4,
K_AUX5,
K_AUX6,
K_AUX7,
K_AUX8,
K_AUX9,
K_AUX10,
K_AUX11,
K_AUX12,
K_AUX13,
K_AUX14,
K_AUX15,
K_AUX16,


As you can see there is "K_Joy##" this could be joystick. try changing your binds to those and see if they work.


No idea if this will work or not, so GL

SecondGod

Thanks a bunch a turret.  I've been waiting for a while for an accurate response.  It's been bugging me using the mouse lately.