#
# This script defines the input configuration
#
bind escape exit
bind w forward
bind up forward
bind a strafe-left
bind left turn-left
bind s backward
bind down backward
bind d strafe-right
bind right turn-right
bind space toggle-perspective
bind f toggle-flashlight
axis mouse-x turn
axis mouse-y look
# xbox360 controller configuration using xboxdrv
axis joy-axis0 joy-strafe
axis joy-axis1 joy-move
axis joy-axis2 joy-turn
axis joy-axis3 joy-look
bind joy-button4 toggle-flashlight
bind joy-button5 toggle-perspective
set turnspeed 1.0
sys-raw-input 1