The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 09:11:52 am
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)
| | |-+  VCONTROL version 3 config file
« previous next »
Pages: [1] Print
Author Topic: VCONTROL version 3 config file  (Read 1612 times)
Defender
Enlightened
*****
Offline Offline

Gender: Male
Posts: 815



View Profile
VCONTROL version 3 config file
« on: June 20, 2006, 03:45:49 am »

I can't get the ships to turn or thrust using my PSX game-pad with latest snapshot and the version 3 keys.cfg. I can select in the menus but no response with controlling the ships. Keyboard works perfectly and there are no start-up errors.

Code:
# Default UQM input configuration file.

# This is a VCONTROL version 3 config file (UQM 0.5.1 or later).
version 3

# Keyboard control definitions follow this point.  Most keys can be
# described in a straightforward manner; consult the name table in
# src/sc2code/libs/input/sdl/keynames.c for the names of unusual keys.
# Most keys can be named by just the symbol they produce.

# Menu controls.  Both sets of arrow keys, basically.  Paging controls
# moving quickly through the file lists in Super Melee.  Zooming
# controls zoom controls in the starmap.  "Cancel" is also used to get
# you into menu mode to begin with.  There is a "Menu-Special" command
# currently unused by the game.  It seems to have been originally used
# to call up details on starships in the Super Melee selection screen.

# Arrow key controls...
Menu-Up: key Up
Menu-Down: key Down
Menu-Right: key Right
Menu-Left: key Left
Menu-Page-Up: key PageUp
Menu-Page-Down: key PageDown
Menu-Home: key Home
Menu-End: key End
Menu-Zoom-In: key PageUp
Menu-Zoom-Out: key PageDown
Menu-Select: key RightAlt
Menu-Select: key RightAlt
Menu-Cancel: key Space
Menu-Cancel: key Space
Menu-Delete: key Delete
Menu-Backspace: key Backspace
Menu-Edit-Cancel: key Escape
Menu-Search: key m
Menu-Next: key Tab

# ... and the number pad.  Note that zoom controls on the starmap are
# different from the paging controls in Super Melee.
Menu-Up: key Keypad-8
Menu-Down: key Keypad-2
Menu-Left: key Keypad-4
Menu-Right: key Keypad-6
Menu-Page-Up: key Keypad-9
Menu-Page-Down: key Keypad-3
Menu-Home: key Keypad-7
Menu-End: key Keypad-1
Menu-Zoom-In: key Keypad-+
Menu-Zoom-Out: key Keypad--
Menu-Select: key Keypad-Enter
Menu-Cancel: key Keypad-0
Menu-Delete: key Keypad-.

# Player 1's flight controls.  This is the bottom player in Super
# Melee and the player in the full game.  Again, the player has the
# option of using either the number pad or the arrow keys.

Keyboard-1-Up: key Up
Keyboard-1-Down: key Down
Keyboard-1-Left: key Left
Keyboard-1-Right: key Right
Keyboard-1-Weapon: key RightAlt
Keyboard-1-Weapon: key RightAlt
Keyboard-1-Special: key Space
Keyboard-1-Escape: key Down

Keyboard-1-Up: key Keypad-8
Keyboard-1-Down: key Keypad-2
Keyboard-1-Left: key Keypad-4
Keyboard-1-Right: key Keypad-6
Keyboard-1-Weapon: key RightAlt
Keyboard-1-Special: key Space

Keyboard-1-Weapon: key RightAlt
Keyboard-1-Special: key Space

# Player 2's flight controls.  We add the key 'd' to let him
# move down in the super-melee ship selection.
Keyboard-2-Up: key e
Keyboard-2-Down: key d
Keyboard-2-Left: key s
Keyboard-2-Right: key f
Keyboard-2-Weapon: key q
Keyboard-2-Special: key a
Keyboard-2-Escape: key Escape

# System utility keys.
Pause: joystick 0 button 9
Pause: key F1
Exit: key F10
Exit: joystick 0 button 8
Exit: key Escape
Abort: key F12

# 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

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

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

Joystick-1-Weapon: joystick 0 button 2
Joystick-1-Special: joystick 0 button 1
Joystick-1-Escape: joystick 0 button 3

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 2
Menu-Page-Up: joystick 0 button 4
Menu-Page-Down: joystick 0 button 5
Menu-Zoom-In: joystick 0 button 7
Menu-Zoom-Out: joystick 0 button 6

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

#Joystick-2-Up: joystick 1 axis 1 negative
#Joystick-2-Down: joystick 1 axis 1 positive
#Joystick-2-Left: joystick 1 axis 0 negative
#Joystick-2-Right: joystick 1 axis 0 positive

#Joystick-2-Up: joystick 1 hat 0 up
#Joystick-2-Down: joystick 1 hat 0 down
#Joystick-2-Left: joystick 1 hat 0 left
#Joystick-2-Right: joystick 1 hat 0 right

#Joystick-2-Weapon: joystick 1 button 1
#Joystick-2-Special: joystick 1 button 0
#Joystick-2-Escape: joystick 1 button 6

#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 0
#Menu-Select: joystick 1 button 1
#Menu-Page-Up: joystick 1 button 4
#Menu-Page-Down: joystick 1 button 5
#Menu-Zoom-In: joystick 1 button 6
#Menu-Zoom-Out: joystick 1 button 7

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

#Joystick-3-Up: joystick 2 axis 1 negative
#Joystick-3-Down: joystick 2 axis 1 positive
#Joystick-3-Left: joystick 2 axis 0 negative
#Joystick-3-Right: joystick 2 axis 0 positive

#Joystick-3-Up: joystick 2 hat 0 up
#Joystick-3-Down: joystick 2 hat 0 down
#Joystick-3-Left: joystick 2 hat 0 left
#Joystick-3-Right: joystick 2 hat 0 right

#Joystick-3-Weapon: joystick 2 button 1
#Joystick-3-Special: joystick 2 button 0
#Joystick-3-Escape: joystick 2 button 6

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

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

#Menu-Cancel: joystick 2 button 0
#Menu-Select: joystick 2 button 1
#Menu-Page-Up: joystick 2 button 4
#Menu-Page-Down: joystick 2 button 5
#Menu-Zoom-In: joystick 2 button 6
#Menu-Zoom-Out: joystick 2 button 7
« Last Edit: June 20, 2006, 04:19:57 am by DEFIANT » Logged
Pages: [1] 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!