The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
November 05, 2024, 05:47:02 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Joypad works on menus but not ingame???
« previous next »
Pages: [1] 2 Print
Author Topic: Joypad works on menus but not ingame???  (Read 9040 times)
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Joypad works on menus but not ingame???
« on: February 12, 2008, 08:36:59 pm »

Bizzare.  I can scroll through all menus IE mellee, single player etc what ships I want etc etc but once im in game I cant use my Joypad.

What am I doing wrong?
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #1 on: February 13, 2008, 09:17:13 am »

Bizzare.  I can scroll through all menus IE mellee, single player etc what ships I want etc etc but once im in game I cant use my Joypad.
First of all, have you selected joystick 1 as the controller for Player One (Setup/Configure Controls)? Next, have you made sure the configuration for the joystick is actually correct (Setup/Configure Controls/Edit Controls)? Finally, have you made sure UQM can see your joypad (see stderr.txt in the UQM directory for the debug log)?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #2 on: February 13, 2008, 11:37:10 am »

Hi there.

Yes to all three, this is why this prob is bizzare.   UQM must be able to see my Joypad as it works fine for everything except in game.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #3 on: February 13, 2008, 01:03:37 pm »

Strange, indeed. Can you post your keys.cfg or flight.cfg file (whichever is newer if you have both)?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #4 on: February 13, 2008, 02:04:17 pm »

Certainly m8.  You couldn't tell me how to do that could you?
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #5 on: February 13, 2008, 02:21:26 pm »

You will find the relevant file in your settings directory. This is the file we need to see; uploading it to e.g. a web or FTP server and posting a link here, or opening the file in your favourite text editor (Notepad should do) and cutting-and-pasting into a (long) post will both accomplish this.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #6 on: March 10, 2008, 07:33:33 pm »

Looked under program files/ the urquan masters and dont have those files you mention.  I dont seem to even have the  settings directory here. 
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #7 on: March 11, 2008, 09:06:51 am »

Looked under program files/ the urquan masters and dont have those files you mention.  I dont seem to even have the  settings directory here. 
That's not the settings directory. Did you actually follow the link to the FAQ?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #8 on: March 11, 2008, 12:24:16 pm »

I click the link on your sig for the FAQ but its dead.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #9 on: March 11, 2008, 02:08:41 pm »

I click the link on your sig for the FAQ but its dead.
First of all, I meant the settings directory link, not the FAQ link in my signature, although they both link to the same page, just different sections. Both links work for me.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #10 on: March 11, 2008, 02:19:49 pm »

Got it thanks

version 4
Menu-Backspace: key Backspace
Menu-Next: key Tab
Menu-Select: key Return
Pause: key Pause
Menu-Edit-Cancel: key Escape
Template-1-Escape: key Escape
Template-2-Escape: key Escape
Template-3-Escape: key Escape
Template-4-Escape: key Escape
Template-5-Escape: key Escape
Template-6-Escape: key Escape
Template-1-Up: key Escape
Template-5-Up: key Escape
Template-6-Up: key Escape
Menu-Cancel: key Space
Menu-Search: key /
Template-3-Special: key [
Template-3-Weapon: key ]
Template-2-Left: key a
Template-4-Special: key a
Template-2-Special: key b
Template-2-Right: key d
Template-4-Down: key d
Template-4-Up: key e
Template-4-Right: key f
Template-4-Weapon: key q
Template-2-Down: key s
Template-4-Left: key s
Template-2-Weapon: key v
Template-2-Up: key w
Menu-Delete: key Delete
Menu-Cancel: key Keypad-0
Template-1-Special: key Keypad-0
Menu-End: key Keypad-1
Menu-Down: key Keypad-2
Template-1-Down: key Keypad-2
Template-3-Down: key Keypad-2
Menu-Page-Down: key Keypad-3
Menu-Left: key Keypad-4
Template-1-Left: key Keypad-4
Template-3-Left: key Keypad-4
Menu-Right: key Keypad-6
Template-1-Right: key Keypad-6
Template-3-Right: key Keypad-6
Menu-Home: key Keypad-7
Menu-Up: key Keypad-8
Template-3-Up: key Keypad-8
Menu-Page-Up: key Keypad-9
Menu-Delete: key Keypad-.
Menu-Zoom-Out: key Keypad--
Menu-Zoom-In: key Keypad-+
Menu-Select: key Keypad-Enter
Template-1-Weapon: key Keypad-Enter
Menu-Up: key Up
Template-1-Up: key Up
Template-3-Up: key Up
Menu-Down: key Down
Template-1-Down: key Down
Template-3-Down: key Down
Menu-Right: key Right
Template-1-Right: key Right
Template-3-Right: key Right
Menu-Left: key Left
Template-1-Left: key Left
Template-3-Left: key Left
Menu-Home: key Home
Menu-End: key End
Menu-Page-Up: key PageUp
Menu-Zoom-In: key PageUp
Menu-Page-Down: key PageDown
Menu-Zoom-Out: key PageDown
Pause: key F1
Exit: key F10
Menu-Cancel: key RightShift
Template-1-Special: key RightShift
Menu-Select: key RightControl
Template-1-Weapon: key RightControl
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #11 on: March 11, 2008, 02:32:43 pm »

All right, I think I see the problem. Try adding the following to that file:

Code:
# This is a sample joystick configuration.  This is intended to work
# primarily under WinXP with a USB analog/digital gamepad.  The
# digital aspect of the gamepad happens to present itself to the
# system as a POV hat.  This configuration allows either the digital
# or analog stick to be used simultaneously.  More importantly, it
# gives us a chance to give examples for all of the various input types
# that UQM can handle.

joystick 0 threshold 10000   # How far to move before it counts; 0-30000

Template-5-Up: joystick 0 axis 1 negative
Template-5-Down: joystick 0 axis 1 positive
Template-5-Left: joystick 0 axis 0 negative
Template-5-Right: joystick 0 axis 0 positive

Template-5-Up: joystick 0 hat 0 up
Template-5-Down: joystick 0 hat 0 down
Template-5-Left: joystick 0 hat 0 left
Template-5-Right: joystick 0 hat 0 right

Template-5-Weapon: joystick 0 button 0
Template-5-Special: joystick 0 button 1
Template-5-Escape: key Escape

Menu-Up: joystick 0 axis 1 negative
Menu-Down: joystick 0 axis 1 positive
Menu-Left: joystick 0 axis 0 negative
Menu-Right: joystick 0 axis 0 positive

Menu-Up: joystick 0 hat 0 up
Menu-Down: joystick 0 hat 0 down
Menu-Left: joystick 0 hat 0 left
Menu-Right: joystick 0 hat 0 right

Menu-Cancel: joystick 0 button 1
Menu-Select: joystick 0 button 0

joystick 1 threshold 10000   # How far to move before it counts; 0-30000

Template-6-Up: joystick 1 axis 1 negative
Template-6-Down: joystick 1 axis 1 positive
Template-6-Left: joystick 1 axis 0 negative
Template-6-Right: joystick 1 axis 0 positive

Template-6-Up: joystick 1 hat 0 up
Template-6-Down: joystick 1 hat 0 down
Template-6-Left: joystick 1 hat 0 left
Template-6-Right: joystick 1 hat 0 right

Template-6-Weapon: joystick 1 button 0
Template-6-Special: joystick 1 button 1

Template-6-Escape: key Escape

Menu-Up: joystick 1 axis 1 negative
Menu-Down: joystick 1 axis 1 positive
Menu-Left: joystick 1 axis 0 negative
Menu-Right: joystick 1 axis 0 positive

Menu-Up: joystick 1 hat 0 up
Menu-Down: joystick 1 hat 0 down
Menu-Left: joystick 1 hat 0 left
Menu-Right: joystick 1 hat 0 right

Menu-Cancel: joystick 1 button 1
Menu-Select: joystick 1 button 0
You may have to switch to the joystick template from the setup menu in UQM after making this change.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #12 on: March 11, 2008, 04:29:01 pm »

Thanks m8.  The Joypad now works throughout the menus as it did before but then stopped for some reason.

Still doesn't work within the actual game though.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #13 on: March 11, 2008, 04:55:03 pm »

Thanks m8.  The Joypad now works throughout the menus as it did before but then stopped for some reason.

Still doesn't work within the actual game though.
Good, that means the missing joystick definitions are OK and we only need to assign the joystick to a player. All right, let's check uqm.cfg (in the same directory). Could you please post the contents of that file here?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #14 on: March 11, 2008, 05:13:53 pm »

Certainly can  Smiley

config.speechvol = 100
config.sfxvol = 100
config.musicvol = 100
config.audioquality = high
config.audiodriver = mixsdl
config.player2control = 5
config.player1control = 4
config.pulseshield = no
config.positionalsfx = no
config.smoothmelee = yes
config.showfps = yes
config.3domovies = yes
config.3domusic = yes
config.smoothscroll = no
config.iconicscan = no
config.textgradients = yes
config.textmenu = yes
config.subtitles = yes
config.fullscreen = yes
config.scanlines = no
config.scaler = triscan
config.usegl = yes
config.alwaysgl = no
config.resheight = 768
config.reswidth = 1024
config.keys.6.name = Joystick 2
config.keys.5.name = Joystick 1
config.keys.4.name = ESDF
config.keys.3.name = Arrows (2)
config.keys.2.name = WASD
config.keys.1.name = Arrows
« Last Edit: March 11, 2008, 05:16:29 pm by Kola » Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!