Controller support
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 20
- Joined: Tue Mar 24, 2020 6:53 am
Controller support
I tried Raze with Sony Dualshock 3 on my Mac. Everything works perfect, except analogs. Controller support is on.
Last edited by Rachael on Tue Mar 24, 2020 9:05 am, edited 1 time in total.
Reason: Merged double-post
Reason: Merged double-post
-
- Lead GZDoom+Raze Developer
- Posts: 49183
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Controller support
All games or just some?
-
- Posts: 20
- Joined: Tue Mar 24, 2020 6:53 am
Re: Controller support
Tested Duke Nukem 3D, Duke Nukem 3D: Atomic, Blood: One unit whole blood, and Blood Cryptic Passage. I've also tried with Sony Dualshock 4, but it's the same, both analogs not working. I've tested on Raze 0.5.1
-
- Posts: 87
- Joined: Tue Sep 03, 2019 2:20 pm
Re: Controller support
I have the same issue. DS4Windows and Dualshock 4 on Windows. Tried a standard Xbox controller too. For me, it's all games.
-
- Spotlight Team
- Posts: 1090
- Joined: Mon Nov 25, 2019 8:54 am
- Graphics Processor: Intel (Modern GZDoom)
Re: Controller support
bisk89 wrote:Tested Duke Nukem 3D, Duke Nukem 3D: Atomic, Blood: One unit whole blood, and Blood Cryptic Passage. I've also tried with Sony Dualshock 4, but it's the same, both analogs not working. I've tested on Raze 0.5.1
To the both of you:Barry Burton wrote:I have the same issue. DS4Windows and Dualshock 4 on Windows. Tried a standard Xbox controller too. For me, it's all games.
Please list:
- Your computer specs. What processor, RAM, videocard and video drivers
- Add an attachment of your ini files so it can be seen what gets loaded during startup in terms of configuration parameters.
-
- Posts: 87
- Joined: Tue Sep 03, 2019 2:20 pm
Re: Controller support
I'm on Windows 10 Pro x64, i7 4770k CPU, GTX 1080 ti GPU (nVidia driver 441.41), 16 gig DDR3.
Code: Select all
# This file was generated by Raze 0.5.1
# These are the directories to automatically search for game data.
# Each directory should be on a separate line, preceded by Path=
[GameSearch.Directories]
Path=.
Path=./*
Path=$PROGDIR
Path=$PROGDIR/*
Path=$STEAM
# These are the directories to search for add-ons added with the -file
# command line parameter, if they cannot be found with the path
# as-is. Layout is the same as for GameSearch.Directories
[FileSearch.Directories]
Path=$PROGDIR
Path=$GAMEDIR
# These are the directories to search for soundfonts that let listed in the menu.
# Layout is the same as for GameSearch.Directories
[SoundfontSearch.Directories]
Path=$PROGDIR/soundfonts
[LastRun]
Version=1
[GlobalSettings]
autosavecount=4
autosavenum=0
cd_drive=
cd_enabled=true
cl_defaultconfiguration=2
cl_gender=0
cl_savedir=
con_buffersize=-1
con_ctrl_d=
con_notifylines=4
con_scaletext=2
defaultiwad=C:/Users/*****/Desktop/Id/Raze/DUKE3D.GRP
demoplay_diffs=true
demoplay_showsync=true
demorec_diffs=true
demorec_difftics=60
demorec_force=false
demorec_seeds=true
developer=0
disableautoload=false
disableautosave=1
disablecrashlog=false
displaysetup=true
duke_compatibility_15=false
fluid_chorus=false
fluid_chorus_depth=8
fluid_chorus_level=1
fluid_chorus_speed=0.3
fluid_chorus_type=0
fluid_chorus_voices=3
fluid_gain=0.5
fluid_interp=1
fluid_lib=
fluid_patchset=raze
fluid_reverb=false
fluid_reverb_damping=0.23
fluid_reverb_level=0.57
fluid_reverb_roomsize=0.61
fluid_reverb_width=0.76
fluid_samplerate=0
fluid_threads=1
fluid_voices=128
gl_control_tear=true
gl_debug=false
gl_debug_breakpoint=false
gl_debug_level=0
gl_dither_bpc=0
gl_finishbeforeswap=false
gl_fxaa=0
gl_lens=false
gl_lens_chromatic=1.12
gl_lens_k=-0.12
gl_lens_kcube=0.1
gl_multisample=1
gl_satformula=1
gl_ssao=0
gl_ssao_portals=1
gl_ssao_strength=0.7
gme_stereodepth=0
hud_showmapname=true
hud_stats=false
hw_animsmoothing=true
hw_anisotropy=4
hw_detailmapping=true
hw_glowmapping=true
hw_hightile=true
hw_models=true
hw_parallaxskypanning=true
hw_shadeinterpolate=true
hw_shadescale=1
hw_texfilter=0
hw_useindexedcolortextures=false
i_soundinbackground=false
in_mouse=2
in_mousebias=0
in_mouseflip=false
in_mousemode=true
in_mousescalex=1
in_mousescaley=1
in_mousesensitivity=1
in_mousesmoothing=false
joy_dinput=false
joy_ps2raw=false
joy_xinput=true
k_allowfullscreentoggle=true
k_mergekeys=true
language=en
m_filter=false
m_noprescale=false
m_show_backbutton=0
m_showinputgrid=false
m_use_mouse=1
mod_autochip=false
mod_autochip_scan_threshold=12
mod_autochip_size_force=100
mod_autochip_size_scan=500
mod_dumb_mastervolume=1
mod_interp=2
mod_samplerate=0
mod_volramp=2
mouse_capturemode=1
mouse_sensitivity=1
mus_enabled=true
mus_extendedlookup=false
mus_restartonload=false
mus_volume=0.5
noautoload=true
opl_core=0
opl_fullpan=false
opl_numchips=0
png_gamma=0
png_level=5
queryiwad=true
queryiwad_key=shift
quicksavecount=4
quicksavenum=0
r_ambientlight=1
r_drawweapon=1
r_fov=90
r_maxfps=200
r_precache=true
r_shadows=true
r_usenewaspect=true
saveloadconfirmation=true
savestatistics=0
secret_notify=false
showendoom=0
silentmouseaimtoggle=false
snd_aldevice=Default
snd_alresampler=Default
snd_ambience=true
snd_backend=openal
snd_buffersize=0
snd_channels=128
snd_doppler=false
snd_efx=true
snd_enabled=true
snd_extendedlookup=false
snd_fxvolume=255
snd_hrtf=-1
snd_mastervolume=0
snd_mididevice=-5
snd_midiprecache=false
snd_mixrate=44100
snd_reverb=true
snd_samplerate=0
snd_sfxvolume=1
snd_speech=1
snd_streambuffersize=64
snd_tryformats=true
snd_waterreverb=true
statfile=razestat.txt
sw_darts=false
sw_ninjahack=false
timidity_config=raze
use_joystick=true
use_mouse=true
vid_adapter=1
vid_aspect=0
vid_brightness=0
vid_contrast=1
vid_cropaspect=false
vid_defheight=480
vid_defwidth=640
vid_fullscreen=true
vid_gamma=1
vid_gpuswitch=0
vid_hdr=false
vid_preferbackend=0
vid_rendermode=4
vid_saturation=1
vid_scale_customheight=1080
vid_scale_custompixelaspect=1
vid_scale_customwidth=1920
vid_scale_linear=false
vid_scalefactor=1
vid_scalemode=5
vid_vsync=true
vr_enable_quadbuffered=false
win_h=864
win_maximized=false
win_w=1536
win_x=-1
win_y=-1
[GlobalSettings.Unknown]
[Duke.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=An inspiration for birth control.
combatmacro1=You're gonna die for that!
combatmacro2=It hurts to be you.
combatmacro3=Lucky Son of a Bitch.
combatmacro4=Hmmm....Payback time.
combatmacro5=You bottom dwelling scum sucker.
combatmacro6=Damn, you're ugly.
combatmacro7=Ha ha ha...Wasted!
combatmacro8=You suck!
combatmacro9=AARRRGHHHHH!!!
playercolor=0
playergender=0
playername=Player
rtsname=
[Duke.ConsoleVariables]
adult_lockout=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_autovote=0
cl_cheatmask=-1
cl_crosshair=true
cl_crosshairscale=50
cl_democams=true
cl_idplayers=true
cl_interpolate=true
cl_maxautosaves=8
cl_obituaries=true
cl_runmode=true
cl_showweapon=1
cl_slopetilting=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notifytime=3
con_scale=0
demo_playloop=true
gl_bloom=true
gl_bloom_amount=1.4
gl_exposure_base=0.35
gl_exposure_min=0.35
gl_exposure_scale=1.3
gl_exposure_speed=0.05
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_custom=0
hud_flashing=1
hud_glowingquotes=true
hud_messages=1
hud_messagetime=120
hud_numberpal=0
hud_numbertile=2930
hud_position=false
hud_powerupduration=true
hud_scale=100
hud_shadows=1
hud_size=9
hud_textscale=200
hud_weaponscale=100
in_joystick=false
lookspring=true
m_generic_messagebox=false
menu_sounds=true
msg=0
msg0color=6
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=5
msgmidcolor2=4
mus_redbook=true
r_drawfuzz=1
r_horizcenter=false
r_voxels=true
screenshot_dir=
screenshotname=
snd_pitched=false
uiscale=0
usermapfolder=
wchoice=3457860291
[Duke.VideoSettings]
[Duke.UnknownConsoleVariables]
[Duke.ConsoleAliases]
[Duke.Bindings]
1=+Weapon_1
2=+Weapon_2
3=+Weapon_3
4=+Weapon_4
5=+Weapon_5
6=+Weapon_6
7=+Weapon_7
8=+Weapon_8
9=+Weapon_9
0=+Weapon_10
-=+Shrink_Screen
Equals=+Enlarge_Screen
Backspace=+Turn_Around
Tab=+Map
Q=+Quick_Kick
W=+Move_Forward
R=+Steroids
T=+Send_Message
LeftBracket=+Inventory_Left
RightBracket=+Inventory_Right
Enter=+Inventory
LCtrl=+Toggle_Crouch
A=+Strafe_Left
F=+Map_Follow_Mode
H=+Holo_Duke
J=+Jetpack
K=+See_Coop_View
'=+Next_Weapon
`=toggleconsole
LShift=+Run
Z=+Crouch
C=+Toggle_Crouch
N=+NightVision
M=+MedKit
RShift=+Run
LAlt=+Strafe
Space=+Open
CapsLock=toggle autorun 85
F1=openhelpmenu
F2=opensavemenu
F3=openloadmenu
F4=openmenu SoundOptions
F5=openmenu OptionsMenu
F6=quicksave
F7=+Third_Person_View
F8=togglemessages
F9=quickload
F10=menu_endgame
Scroll=+Holster_Weapon
KP7=+Strafe_Left
KP8=+Move_Forward
KP9=+Strafe_Right
KP-=+Jump
KP4=+Turn_Left
KP6=+Turn_Right
KP2=+Move_Backward
KP0=+Look_Left
KP.=+Look_Right
F11=bumpgamma
F12=screenshot
KP-Enter=+Inventory
RCtrl=+Fire
RAlt=+Strafe
Home=+Aim_Up
UpArrow=+Move_Forward
PgUp=+Look_Up
LeftArrow=+Inventory_Left
RightArrow=+Inventory_Right
End=+Aim_Down
DownArrow=+Move_Backward
PgDn=+Look_Down
Ins=+Look_Left
Del=+Look_Right
Mouse1=+Fire
Mouse2=+Jump
Mouse3=+Run
MWheelUp=+Next_Weapon
MWheelDown=+Previous_Weapon
LShoulder=+Open
RTrigger=+Fire
E=+Open
S=+Move_Backward
D=+Strafe_Right
DPadUp=+Move_Forward
DPadDown=+Move_Backward
DPadLeft=+Strafe_Left
DPadRight=+Strafe_Right
LTrigger=+Fire
[Duke.DoubleBindings]
[Duke.AutomapBindings]
[ShadowWarrior.Player]
cl_autoaim=1
cl_weaponswitch=1
combatmacro0=Burn baby burn...
combatmacro1=You make another stupid move.
combatmacro2=Blocking with your head again?
combatmacro3=You not fight well with hands!
combatmacro4=You so stupid!
combatmacro5=Quit jerking off. Come fight me!
combatmacro6=What the matter you scaredy cat?
combatmacro7=Did I break your concentration?
combatmacro8=Hope you were paying attention.
combatmacro9=ITTAIIIUUU!!!
playercolor=0
playergender=0
playername=Player
rtsname=
[ShadowWarrior.ConsoleVariables]
adult_lockout=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_autovote=0
cl_cheatmask=-1
cl_crosshair=true
cl_crosshairscale=50
cl_democams=true
cl_idplayers=true
cl_interpolate=true
cl_maxautosaves=8
cl_obituaries=true
cl_runmode=true
cl_showweapon=1
cl_slopetilting=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notifytime=3
con_scale=0
demo_playloop=true
gl_bloom=false
gl_bloom_amount=1.4
gl_exposure_base=0.35
gl_exposure_min=0.35
gl_exposure_scale=1.3
gl_exposure_speed=0.05
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_custom=0
hud_flashing=1
hud_glowingquotes=true
hud_messages=1
hud_messagetime=120
hud_numberpal=0
hud_numbertile=2930
hud_position=false
hud_powerupduration=true
hud_scale=100
hud_shadows=1
hud_size=8
hud_textscale=200
hud_weaponscale=100
in_joystick=false
lookspring=true
m_generic_messagebox=false
menu_sounds=true
msg=0
msg0color=6
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=5
msgmidcolor2=4
mus_redbook=true
r_drawfuzz=1
r_horizcenter=false
r_voxels=true
screenshot_dir=
screenshotname=
snd_pitched=false
uiscale=0
usermapfolder=
wchoice=3457860291
[ShadowWarrior.VideoSettings]
[ShadowWarrior.UnknownConsoleVariables]
[ShadowWarrior.ConsoleAliases]
[ShadowWarrior.Bindings]
1=+Weapon_1
2=+Weapon_2
3=+Weapon_3
4=+Weapon_4
5=+Weapon_5
6=+Weapon_6
7=+Weapon_7
8=+Weapon_8
9=+Weapon_9
0=+Weapon_10
-=+Shrink_Screen
Equals=+Enlarge_Screen
Backspace=+Turn_Around
Tab=+Map
T=+Send_Message
LeftBracket=+Inventory_Left
RightBracket=+Inventory_Right
Enter=+Inventory
LCtrl=+Crouch
A=+Strafe_Left
F=+Flash_Bomb
G=+Gas_Bomb
K=+See_Coop_View
'=+Next_Weapon
`=toggleconsole
LShift=+Run
Z=+Crouch
C=+Caltrops
B=+Smoke_Bomb
N=+Nightvision
M=+MedKit
RShift=+Run
LAlt=+Strafe
Space=+Open
CapsLock=toggle autorun 85
F1=openhelpmenu
F2=opensavemenu
F3=openloadmenu
F4=openmenu SoundOptions
F5=openmenu OptionsMenu
F6=quicksave
F7=+Third_Person_View
F8=togglemessages
F9=quickload
F10=menu_endgame
Scroll=+Holster_Weapon
KP7=+Strafe_Left
KP8=+Move_Forward
KP9=+Strafe_Right
KP-=+Jump
KP4=+Turn_Left
KP6=+Turn_Right
KP2=+Move_Backward
KP0=+Look_Left
KP.=+Look_Right
F11=bumpgamma
F12=screenshot
KP-Enter=+Inventory
RCtrl=+Fire
RAlt=+Strafe
Home=+Aim_Up
UpArrow=+Move_Forward
PgUp=+Look_Up
LeftArrow=+Inventory_Left
RightArrow=+Inventory_Right
End=+Aim_Down
DownArrow=+Move_Backward
PgDn=+Look_Down
Ins=+Look_Left
Del=+Look_Right
Mouse1=+Fire
Mouse2=+Jump
Mouse3=+Run
MWheelUp=+Next_Weapon
MWheelDown=+Previous_Weapon
W=+Move_Forward
E=+Open
S=+Move_Backward
D=+Strafe_Right
[ShadowWarrior.DoubleBindings]
[ShadowWarrior.AutomapBindings]
[Redneck.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=Yer as ugly as a mud fence!
combatmacro1=Duck you pecker-head!
combatmacro2=You like that boy?
combatmacro3=Yer lower than catfish crap!
combatmacro4=Eat lead, you shit monkey!
combatmacro5=You dumb-ass!
combatmacro6=Yer slower'n a three legged dog!
combatmacro7=Come on...Squeal like a pig!
combatmacro8=Haw, haw, haw!
combatmacro9=Now you gone and done it!
playercolor=0
playergender=0
playername=Player
rtsname=
[Redneck.ConsoleVariables]
adult_lockout=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_autovote=0
cl_cheatmask=-1
cl_crosshair=true
cl_crosshairscale=50
cl_democams=true
cl_idplayers=true
cl_interpolate=true
cl_maxautosaves=8
cl_obituaries=true
cl_runmode=true
cl_showweapon=1
cl_slopetilting=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notifytime=3
con_scale=0
demo_playloop=true
gl_bloom=false
gl_bloom_amount=1.4
gl_exposure_base=0.35
gl_exposure_min=0.35
gl_exposure_scale=1.3
gl_exposure_speed=0.05
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_custom=0
hud_flashing=1
hud_glowingquotes=true
hud_messages=1
hud_messagetime=120
hud_numberpal=0
hud_numbertile=2930
hud_position=false
hud_powerupduration=true
hud_scale=100
hud_shadows=1
hud_size=9
hud_textscale=200
hud_weaponscale=100
in_joystick=false
lookspring=true
m_generic_messagebox=false
menu_sounds=true
msg=0
msg0color=6
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=5
msgmidcolor2=4
mus_redbook=true
r_drawfuzz=1
r_horizcenter=false
r_voxels=true
screenshot_dir=
screenshotname=
snd_pitched=false
uiscale=0
usermapfolder=
wchoice=3457860291
[Redneck.VideoSettings]
[Redneck.UnknownConsoleVariables]
[Redneck.ConsoleAliases]
[Redneck.Bindings]
1=+Weapon_1
2=+Weapon_2
3=+Weapon_3
4=+Weapon_4
5=+Weapon_5
6=+Weapon_6
7=+Weapon_7
8=+Weapon_8
9=+Weapon_9
0=+Weapon_10
-=+Shrink_Screen
Equals=+Enlarge_Screen
Backspace=+Turn_Around
Tab=+Map
Q=+Quick_Kick
W=+MedKit
E=+Show_Opponents_Weapon
T=+Send_Message
Y=+NightVision
LeftBracket=+Inventory_Left
RightBracket=+Inventory_Right
Enter=+Inventory
LCtrl=+Crouch
A=+Jump
F=+Map_Follow_Mode
K=+See_Coop_View
'=+Next_Weapon
`=toggleconsole
LShift=+Run
Z=+Crouch
C=+Jetpack
B=+Holo_Duke
M=+Steroids
RShift=+Run
LAlt=+Strafe
Space=+Open
CapsLock=toggle autorun 85
F1=openhelpmenu
F2=opensavemenu
F3=openloadmenu
F4=openmenu SoundOptions
F5=openmenu OptionsMenu
F6=quicksave
F7=+Third_Person_View
F8=togglemessages
F9=quickload
F10=menu_endgame
Scroll=+Holster_Weapon
KP7=+Strafe_Left
KP8=+Move_Forward
KP9=+Strafe_Right
KP-=+Jump
KP4=+Turn_Left
KP6=+Turn_Right
KP2=+Move_Backward
KP0=+Look_Left
KP.=+Look_Right
F11=bumpgamma
F12=screenshot
KP-Enter=+Inventory
RCtrl=+Fire
RAlt=+Strafe
Home=+Aim_Up
UpArrow=+Move_Forward
PgUp=+Look_Up
LeftArrow=+Strafe_Left
RightArrow=+Strafe_Right
End=+Aim_Down
DownArrow=+Move_Backward
PgDn=+Look_Down
Ins=+Look_Left
Del=+Look_Right
Mouse1=+Fire
Mouse2=+Jump
Mouse3=+Run
MWheelUp=+Previous_Weapon
MWheelDown=+Next_Weapon
LTrigger=+Open
[Redneck.DoubleBindings]
[Redneck.AutomapBindings]
[Exhumed.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=
combatmacro1=
combatmacro2=
combatmacro3=
combatmacro4=
combatmacro5=
combatmacro6=
combatmacro7=
combatmacro8=
combatmacro9=
playercolor=0
playergender=0
playername=Player
rtsname=
[Exhumed.ConsoleVariables]
adult_lockout=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_autovote=0
cl_cheatmask=-1
cl_crosshair=true
cl_crosshairscale=50
cl_democams=true
cl_idplayers=true
cl_interpolate=true
cl_maxautosaves=8
cl_obituaries=true
cl_runmode=true
cl_showweapon=1
cl_slopetilting=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notifytime=3
con_scale=0
demo_playloop=true
gl_bloom=false
gl_bloom_amount=1.4
gl_exposure_base=0.35
gl_exposure_min=0.35
gl_exposure_scale=1.3
gl_exposure_speed=0.05
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_custom=0
hud_flashing=1
hud_glowingquotes=true
hud_messages=1
hud_messagetime=120
hud_numberpal=0
hud_numbertile=2930
hud_position=false
hud_powerupduration=true
hud_scale=100
hud_shadows=1
hud_size=7
hud_textscale=200
hud_weaponscale=100
in_joystick=false
lookspring=true
m_generic_messagebox=false
menu_sounds=true
msg=0
msg0color=6
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=5
msgmidcolor2=4
mus_redbook=true
r_drawfuzz=1
r_horizcenter=false
r_voxels=true
screenshot_dir=
screenshotname=
snd_pitched=false
uiscale=0
usermapfolder=
wchoice=3457860291
[Exhumed.VideoSettings]
[Exhumed.UnknownConsoleVariables]
[Exhumed.ConsoleAliases]
[Exhumed.Bindings]
1=+Weapon_1
2=+Weapon_2
3=+Weapon_3
4=+Weapon_4
5=+Weapon_5
6=+Weapon_6
7=+Weapon_7
8=+Weapon_8
9=+Weapon_9
0=+Weapon_10
-=+Shrink_Screen
Equals=+Enlarge_Screen
Backspace=+Turn_Around
Tab=+Map
W=+Move_Forward
E=+Open
T=+Send_Message
U=+Mouse_Aiming
I=+Toggle_Crosshair
LeftBracket=+Inventory_Left
RightBracket=+Inventory_Right
Enter=+Inventory
LCtrl=+Crouch
A=+Strafe_Left
S=+Move_Backward
D=+Strafe_Right
F=+Map_Follow_Mode
K=+See_Coop_View
'=+Next_Weapon
`=toggleconsole
LShift=+Run
Z=+Crouch
C=+Toggle_Crouch
,=+Strafe_Left
.=+Strafe_Right
RShift=+Run
LAlt=+Strafe
Space=+Open
CapsLock=+AutoRun
F1=openhelpmenu
F2=opensavemenu
F3=openloadmenu
F4=openmenu SoundOptions
F5=openmenu OptionsMenu
F6=+Quick_Save
F7=+Third_Person_View
F8=togglemessages
F9=+Quick_Load
F10=menu_endgame
Scroll=+Holster_Weapon
KP7=+Strafe_Left
KP8=+Move_Forward
KP9=+Strafe_Right
KP-=+Jump
KP4=+Turn_Left
KP6=+Turn_Right
KP2=+Move_Backward
KP0=+Look_Left
KP.=+Look_Right
F11=bumpgamma
F12=screenshot
KP-Enter=+Inventory
RCtrl=+Fire
RAlt=+Strafe
Home=+Aim_Up
UpArrow=+Move_Forward
PgUp=+Look_Up
LeftArrow=+Inventory_Left
RightArrow=+Inventory_Right
End=+Aim_Down
DownArrow=+Move_Backward
PgDn=+Look_Down
Ins=+Look_Left
Del=+Look_Right
Mouse1=+Fire
Mouse2=+Jump
Mouse3=+Run
MWheelUp=+Previous_Weapon
MWheelDown=+Next_Weapon
[Exhumed.DoubleBindings]
[Exhumed.AutomapBindings]
-
- Posts: 20
- Joined: Tue Mar 24, 2020 6:53 am
Re: Controller support
I'm on MacBook Pro 13 early 2015, Mac OS Sierra 10.12.6, 2,9 GHz Intel Core i5, 8 GB 1867 MHz DDR3, Intel Iris Graphics 6100 1536 MB
In GZDoom everything work flawlessly.
In GZDoom everything work flawlessly.
Code: Select all
# This file was generated by Raze 0.5.1
# These are the directories to automatically search for game data.
# Each directory should be on a separate line, preceded by Path=
[GameSearch.Directories]
Path=.
Path=./*
Path=/Users/player/Documents/Raze/*
Path=/Users/player/Library/Application Support/Raze/EDuke32
Path=/Users/player/Library/Application Support/Raze/JFDuke32
Path=/Users/player/Library/Application Support/Raze/NBlood
Path=$PROGDIR
Path=$PROGDIR/*
Path=/Library/Application Support/Raze/EDuke32
Path=/Library/Application Support/Raze/JFDuke32
Path=/Library/Application Support/Raze/NBlood
Path=/Library/Application Support/Raze/JFSW
Path=/Library/Application Support/Raze/VoidSW
Path=$STEAM
# These are the directories to search for add-ons added with the -file
# command line parameter, if they cannot be found with the path
# as-is. Layout is the same as for GameSearch.Directories
[FileSearch.Directories]
Path=/Users/player/Documents/Raze
Path=/Users/player/Library/Application Support/Raze
Path=$PROGDIR
Path=/Library/Application Support/Raze
# These are the directories to search for soundfonts that let listed in the menu.
# Layout is the same as for GameSearch.Directories
[SoundfontSearch.Directories]
Path=/Users/player/Documents/Raze/soundfonts
Path=/Users/player/Library/Application Support/Raze/soundfonts
Path=$PROGDIR/soundfonts
Path=/Library/Application Support/Raze/soundfonts
[LastRun]
Version=1
[GlobalSettings]
autosavecount=4
autosavenum=0
cl_defaultconfiguration=0
cl_gender=0
cl_savedir=
con_buffersize=-1
con_ctrl_d=
con_notifylines=4
con_scaletext=2
defaultiwad=/Users/player/Documents/Raze/Duke/DUKE3D.GRP
demoplay_diffs=true
demoplay_showsync=true
demorec_diffs=true
demorec_difftics=60
demorec_force=false
demorec_seeds=true
developer=0
disableautoload=false
disableautosave=0
displaysetup=true
duke_compatibility_15=false
fluid_chorus=false
fluid_chorus_depth=8
fluid_chorus_level=1
fluid_chorus_speed=0.3
fluid_chorus_type=0
fluid_chorus_voices=3
fluid_gain=0.5
fluid_interp=1
fluid_lib=
fluid_patchset=raze
fluid_reverb=false
fluid_reverb_damping=0.23
fluid_reverb_level=0.57
fluid_reverb_roomsize=0.61
fluid_reverb_width=0.76
fluid_samplerate=0
fluid_threads=1
fluid_voices=128
gl_debug_breakpoint=false
gl_debug_level=0
gl_dither_bpc=0
gl_finishbeforeswap=false
gl_fxaa=0
gl_lens=false
gl_lens_chromatic=1.12
gl_lens_k=-0.12
gl_lens_kcube=0.1
gl_multisample=1
gl_satformula=1
gl_ssao=0
gl_ssao_portals=1
gl_ssao_strength=0.7
gme_stereodepth=0
hud_showmapname=true
hud_stats=false
hw_animsmoothing=true
hw_anisotropy=1
hw_detailmapping=true
hw_glowmapping=true
hw_hightile=true
hw_models=true
hw_parallaxskypanning=true
hw_shadeinterpolate=true
hw_shadescale=1
hw_texfilter=6
hw_useindexedcolortextures=false
i_soundinbackground=false
in_mousebias=0
in_mouseflip=false
in_mousemode=true
in_mousescalex=1
in_mousescaley=1
in_mousesensitivity=1
in_mousesmoothing=false
joy_axespolling=true
k_allowfullscreentoggle=true
language=en
m_filter=false
m_noprescale=false
m_show_backbutton=0
m_showinputgrid=false
m_use_mouse=2
mod_autochip=false
mod_autochip_scan_threshold=12
mod_autochip_size_force=100
mod_autochip_size_scan=500
mod_dumb_mastervolume=1
mod_interp=2
mod_samplerate=0
mod_volramp=2
mouse_capturemode=1
mouse_sensitivity=1
mus_enabled=true
mus_extendedlookup=false
mus_restartonload=false
mus_volume=0.5
noautoload=true
opl_core=1
opl_fullpan=true
opl_numchips=1
osx_additional_parameters=
png_gamma=0
png_level=5
queryiwad=true
quicksavecount=4
quicksavenum=0
r_ambientlight=1
r_drawweapon=1
r_fov=90
r_maxfps=200
r_precache=true
r_shadows=true
r_usenewaspect=true
saveloadconfirmation=true
savestatistics=0
secret_notify=false
showendoom=0
silentmouseaimtoggle=false
snd_aldevice=Default
snd_alresampler=Default
snd_ambience=true
snd_backend=openal
snd_buffersize=0
snd_channels=128
snd_doppler=false
snd_efx=true
snd_enabled=true
snd_extendedlookup=false
snd_fxvolume=255
snd_hrtf=-1
snd_mastervolume=1
snd_mididevice=-5
snd_midiprecache=false
snd_mixrate=44100
snd_reverb=true
snd_samplerate=0
snd_sfxvolume=1
snd_speech=1
snd_streambuffersize=64
snd_tryformats=true
snd_waterreverb=true
statfile=razestat.txt
sw_darts=false
sw_ninjahack=false
timidity_config=raze
use_joystick=true
use_mouse=true
vid_aspect=2
vid_autoswitch=true
vid_brightness=0
vid_contrast=1
vid_cropaspect=false
vid_defheight=900
vid_defwidth=1440
vid_fullscreen=true
vid_gamma=1
vid_hdr=false
vid_hidpi=false
vid_preferbackend=0
vid_rendermode=4
vid_saturation=1
vid_scale_customheight=900
vid_scale_custompixelaspect=1
vid_scale_customwidth=1440
vid_scale_linear=true
vid_scalefactor=1
vid_scalemode=5
vid_vsync=true
win_h=-1
win_maximized=false
win_w=-1
win_x=-1
win_y=-1
[GlobalSettings.Unknown]
[.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=
combatmacro1=
combatmacro2=
combatmacro3=
combatmacro4=
combatmacro5=
combatmacro6=
combatmacro7=
combatmacro8=
combatmacro9=
playercolor=0
playergender=0
playername=Player
rtsname=
[.ConsoleVariables]
adult_lockout=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_autovote=0
cl_cheatmask=-1
cl_crosshair=true
cl_crosshairscale=50
cl_democams=true
cl_idplayers=true
cl_interpolate=true
cl_maxautosaves=8
cl_obituaries=true
cl_runmode=true
cl_showweapon=1
cl_slopetilting=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notifytime=3
con_scale=0
demo_playloop=true
gl_bloom=false
gl_bloom_amount=1.4
gl_exposure_base=0.35
gl_exposure_min=0.35
gl_exposure_scale=1.3
gl_exposure_speed=0.05
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_custom=0
hud_flashing=1
hud_glowingquotes=true
hud_messages=1
hud_messagetime=120
hud_numberpal=0
hud_numbertile=2930
hud_position=false
hud_powerupduration=true
hud_scale=100
hud_shadows=1
hud_size=9
hud_textscale=200
hud_weaponscale=100
in_joystick=false
lookspring=true
m_generic_messagebox=false
menu_sounds=true
msg=0
msg0color=6
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=5
msgmidcolor2=4
mus_redbook=true
r_drawfuzz=1
r_horizcenter=false
r_voxels=true
screenshot_dir=
screenshotname=
snd_pitched=false
uiscale=0
usermapfolder=
wchoice=3457860291
[.VideoSettings]
[.UnknownConsoleVariables]
[.ConsoleAliases]
[.Bindings]
[.DoubleBindings]
[.AutomapBindings]
[Duke.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=An inspiration for birth control.
combatmacro1=You're gonna die for that!
combatmacro2=It hurts to be you.
combatmacro3=Lucky Son of a Bitch.
combatmacro4=Hmmm....Payback time.
combatmacro5=You bottom dwelling scum sucker.
combatmacro6=Damn, you're ugly.
combatmacro7=Ha ha ha...Wasted!
combatmacro8=You suck!
combatmacro9=AARRRGHHHHH!!!
playercolor=0
playergender=0
playername=Player_One
rtsname=
[Duke.ConsoleVariables]
adult_lockout=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_autovote=0
cl_cheatmask=-1
cl_crosshair=true
cl_crosshairscale=50
cl_democams=true
cl_idplayers=true
cl_interpolate=true
cl_maxautosaves=8
cl_obituaries=true
cl_runmode=true
cl_showweapon=1
cl_slopetilting=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notifytime=3
con_scale=0
demo_playloop=true
gl_bloom=false
gl_bloom_amount=1.4
gl_exposure_base=0.35
gl_exposure_min=0.35
gl_exposure_scale=1.3
gl_exposure_speed=0.05
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_custom=0
hud_flashing=1
hud_glowingquotes=true
hud_messages=1
hud_messagetime=120
hud_numberpal=0
hud_numbertile=2930
hud_position=false
hud_powerupduration=true
hud_scale=100
hud_shadows=1
hud_size=7
hud_textscale=200
hud_weaponscale=100
in_joystick=false
lookspring=true
m_generic_messagebox=false
menu_sounds=true
msg=0
msg0color=6
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=5
msgmidcolor2=4
mus_redbook=true
r_drawfuzz=1
r_horizcenter=false
r_voxels=true
screenshot_dir=
screenshotname=
snd_pitched=false
uiscale=0
usermapfolder=
wchoice=3457860291
[Duke.VideoSettings]
[Duke.UnknownConsoleVariables]
[Duke.ConsoleAliases]
[Duke.Bindings]
1=+Weapon_1
2=+Weapon_2
3=+Weapon_3
4=+Weapon_4
5=+Weapon_5
6=+Weapon_6
7=+Weapon_7
8=+Weapon_8
9=+Weapon_9
0=+Weapon_10
-=+Shrink_Screen
Equals=+Enlarge_Screen
R=+Steroids
T=+Send_Message
F=+Map_Follow_Mode
H=+Holo_Duke
J=+Jetpack
K=+See_Coop_View
`=toggleconsole
C=+Toggle_Crouch
N=+NightVision
M=+MedKit
LAlt=+Strafe
CapsLock=toggle autorun 85
F1=openhelpmenu
F2=opensavemenu
F3=openloadmenu
F4=openmenu SoundOptions
F5=openmenu OptionsMenu
F6=quicksave
F7=+Third_Person_View
F8=togglemessages
F9=quickload
Scroll=+Holster_Weapon
F11=bumpgamma
F12=screenshot
RAlt=+Strafe
Joy1=+Map
Joy2=+Quick_Kick
Joy3=+Crouch
Joy6=+Inventory_Right
Joy8=+Fire
Joy9=+Run
Joy10=+Fire
Joy11=+Previous_Weapon
Joy12=+Next_Weapon
Joy13=+Inventory
Joy15=+Open
Joy16=+Jump
Y=+Show_Opponents_Weapon
U=+Mouse_Aiming
I=+Toggle_Crosshair
A=+Strafe_Left
D=+Strafe_Right
X=+Last_Used_Weapon
,=+Strafe_Left
.=+Strafe_Right
KP-=+Shrink_Screen
KP+=+Enlarge_Screen
Mouse2=+Jetpack
Mouse3=+MediKit
[Duke.DoubleBindings]
[Duke.AutomapBindings]
[Blood.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=I love the smell of napalm...
combatmacro1=Is that gasoline I smell?
combatmacro2=Ta da!
combatmacro3=Who wants some, huh? Who's next?
combatmacro4=I have something for you.
combatmacro5=You just gonna stand there...
combatmacro6=That'll teach ya!
combatmacro7=Ooh, that wasn't a bit nice.
combatmacro8=Amateurs!
combatmacro9=Fool! You are already dead.
playercolor=0
playergender=0
playername=Player
rtsname=
[Blood.ConsoleVariables]
adult_lockout=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_autovote=0
cl_cheatmask=-1
cl_crosshair=true
cl_crosshairscale=50
cl_democams=true
cl_idplayers=true
cl_interpolate=true
cl_maxautosaves=8
cl_obituaries=true
cl_runmode=true
cl_showweapon=1
cl_slopetilting=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notifytime=3
con_scale=0
demo_playloop=true
gl_bloom=false
gl_bloom_amount=1.4
gl_exposure_base=0.35
gl_exposure_min=0.35
gl_exposure_scale=1.3
gl_exposure_speed=0.05
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_custom=0
hud_flashing=1
hud_glowingquotes=true
hud_messages=1
hud_messagetime=120
hud_numberpal=0
hud_numbertile=2930
hud_position=false
hud_powerupduration=true
hud_scale=100
hud_shadows=1
hud_size=6
hud_textscale=200
hud_weaponscale=100
in_joystick=false
lookspring=true
m_generic_messagebox=false
menu_sounds=true
msg=0
msg0color=6
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=5
msgmidcolor2=4
mus_redbook=false
r_drawfuzz=1
r_horizcenter=false
r_voxels=true
screenshot_dir=
screenshotname=
snd_pitched=false
uiscale=0
usermapfolder=
wchoice=3457860291
[Blood.VideoSettings]
[Blood.UnknownConsoleVariables]
[Blood.ConsoleAliases]
[Blood.Bindings]
1=+Weapon_1
2=+Weapon_2
3=+Weapon_3
4=+Weapon_4
5=+Weapon_5
6=+Weapon_6
7=+Weapon_7
8=+Weapon_8
9=+Weapon_9
0=+Weapon_10
-=+Shrink_Screen
Equals=+Enlarge_Screen
Backspace=+Turn_Around
Tab=+Map
W=+Show_Opponents_Weapon
R=+RemoteBombs
T=+Send_Message
P=+ProximityBombs
LeftBracket=+Inventory_Left
RightBracket=+Inventory_Right
Enter=+Inventory
LCtrl=+Fire
A=+Jump
F=+Map_Follow_Mode
J=+Jetpack
K=+See_Coop_View
'=+Next_Weapon
`=toggleconsole
LShift=+Run
Z=+Crouch
X=+Alt_Fire
C=+CrystalBall
B=+BeastVision
M=+MedKit
RShift=+Run
LAlt=+Strafe
Space=+Open
CapsLock=toggle autorun 85
F1=openhelpmenu
F2=opensavemenu
F3=openloadmenu
F4=openmenu SoundOptions
F5=openmenu OptionsMenu
F6=quicksave
F7=+Third_Person_View
F8=togglemessages
F9=quickload
F10=menu_endgame
Scroll=+Holster_Weapon
KP7=+Strafe_Left
KP8=+Move_Forward
KP9=+Strafe_Right
KP-=+Jump
KP4=+Turn_Left
KP6=+Turn_Right
KP2=+Move_Backward
KP0=+Look_Left
KP.=+Look_Right
F11=bumpgamma
F12=screenshot
KP-Enter=+Inventory
RCtrl=+Fire
RAlt=+Strafe
Home=+Aim_Up
UpArrow=+Move_Forward
PgUp=+Look_Up
LeftArrow=+Turn_Left
RightArrow=+Turn_Right
End=+Aim_Down
DownArrow=+Move_Backward
PgDn=+Look_Down
Ins=+Look_Left
Del=+Look_Right
Mouse1=+Fire
Mouse2=+Open
Mouse3=+Run
MWheelUp=+Previous_Weapon
MWheelDown=+Next_Weapon
[Blood.DoubleBindings]
[Blood.AutomapBindings]
[Joy:VID_054c_PID_05c4]
Sensitivity=1.1
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Controller support
I have an Xbox 360 USB controller here, I'll test and see if it's something simple. Please note I can only test on Windows and Linux as these are the only platforms I have available to me.
EDIT: Tested on Windows 10 1909 with an Xbox 360 controller and the sticks work fine but enabling controller support is not enough, I had to configure what axis on what stick I wanted for forward/back/strafing/turning, etc. Have you configured the controller appropriately?
EDIT: Tested on Windows 10 1909 with an Xbox 360 controller and the sticks work fine but enabling controller support is not enough, I had to configure what axis on what stick I wanted for forward/back/strafing/turning, etc. Have you configured the controller appropriately?
-
- Posts: 87
- Joined: Tue Sep 03, 2019 2:20 pm
Re: Controller support
Yeah, I've even set every axis to NONE, closed the game, re-loaded the game and then set the axes correctly again. No go.
The axis binds/settings don't show up in the INI file so I can't manually set them from there. Is it normal that those settings aren't saved in the user's INI file?
The axis binds/settings don't show up in the INI file so I can't manually set them from there. Is it normal that those settings aren't saved in the user's INI file?
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Controller support
Confirmed this is an issue on Linux where SDL is used. My test case is Arch Linux wit SDL 2.0.12. I can only take a further look tonight once it's after hours but this also happens with GZDoom.
What I've noted is, input is recognised from the start of the game, and pressing any key causes it to be stuck (game just seems to speed through to level load and hang). If no input is found and the game loads to the menu, no input from the controller is configurable. This is despite jstest-gtk on my machine showing the controller has been detected and works as expected.
EDIT: Cross-referenced the issue in the GZDoom bug forum.
What I've noted is, input is recognised from the start of the game, and pressing any key causes it to be stuck (game just seems to speed through to level load and hang). If no input is found and the game loads to the menu, no input from the controller is configurable. This is despite jstest-gtk on my machine showing the controller has been detected and works as expected.
EDIT: Cross-referenced the issue in the GZDoom bug forum.
-
- Posts: 20
- Joined: Tue Mar 24, 2020 6:53 am
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Controller support
There is an option to use a controller or not in Raze, as it is the same menu system as GZDoom.
Further to this, you have to bind the axes on the 'Customise Controls' page as I said here:
mjr4077au wrote:Tested on Windows 10 1909 with an Xbox 360 controller and the sticks work fine but enabling controller support is not enough, I had to configure what axis on what stick I wanted for forward/back/strafing/turning, etc. Have you configured the controller appropriately?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 20
- Joined: Tue Mar 24, 2020 6:53 am
Re: Controller support
I wrote before that this option is enabled If it's not I won't be able to bind any key to gamepadmjr4077au wrote:There is an option to use a controller or not in Raze, as it is the same menu system as GZDoom.
Regardless I can't bind axes to any key, I tried but nothing happened, like it's not working at all
-
- Posts: 87
- Joined: Tue Sep 03, 2019 2:20 pm
Re: Controller support
Unfortunately, it seems that if I assign analogue stick axes through the Customize Controls they *are* recognised in-game but only register digital movement. There is no analogue granularity.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Controller support
I was referencing this when I said what I said:bisk89 wrote:I wrote before that this option is enabled If it's not I won't be able to bind any key to gamepadmjr4077au wrote:There is an option to use a controller or not in Raze, as it is the same menu system as GZDoom.
Regardless I can't bind axes to any key, I tried but nothing happened, like it's not working at all
I should have referenced it in the first place to avoid any confusion.bisk89 wrote:Especially that there's no option to use controllers in game menu in Raze, like in GZDoom.
Without access to a Mac, I can't assist further on this. I can only assume that the SDL issue I have on Linux is somehow related (there's potential that the macOS version uses a different version of SDL compared to what I compiled against, which is 2.0.12. Different versions could exhibit different issues).
I think you should make your own post for this, it's a distinct issue on a completely different O/S and shouldn't be piggy-backing on this ticket.Barry Burton wrote:Unfortunately, it seems that if I assign analogue stick axes through the Customize Controls they *are* recognised in-game but only register digital movement. There is no analogue granularity.
I don't use controllers at all, so wasn't aware of the sensitivity issue. From what I've seen of the input code, it will need to be completely redone from scratch to accomodate granular input.
Consider the below code for forward and side velocity (heavily edited to convey my point).
Code: Select all
#define NORMALKEYMOVE 40
void P_GetInput(int const playerNum)
{
CONTROL_GetInput(&info);
// JBF: Run key behaviour is selectable
int const playerRunning = G_CheckAutorun(buttonMap.ButtonDown(gamefunc_Run));
int const keyMove = playerRunning ? (NORMALKEYMOVE << 1) : NORMALKEYMOVE;
if (localInput.svel < keyMove && localInput.svel > -keyMove)
{
if (buttonMap.ButtonDown(gamefunc_Strafe_Left) && !(pPlayer->movement_lock & 4))
input.svel += keyMove;
if (buttonMap.ButtonDown(gamefunc_Strafe_Right) && !(pPlayer->movement_lock & 8))
input.svel += -keyMove;
}
if (localInput.fvel < keyMove && localInput.fvel > -keyMove)
{
if (buttonMap.ButtonDown(gamefunc_Move_Forward) && !(pPlayer->movement_lock & 1))
input.fvel += keyMove;
if (buttonMap.ButtonDown(gamefunc_Move_Backward) && !(pPlayer->movement_lock & 2))
input.fvel += -keyMove;
}
}