;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Bind.mac: Unreal input system bindings ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Reset all bindings.
ResetBindings

; Mouse button bindings.
Bind LButton "Button BUT_Fire | Server Fire"
Bind MButton "Button BUT_Look"
Bind RButton "Button BUT_AltFire | Server AltFire"

; Mouse axis movement bindings.
Bind MouseX   "Axis AXIS_MouseX Speed=10.0"
Bind MouseY   "Axis AXIS_LookUp Speed=10.0"
Bind MouseW   "Axis AXIS_LookUp Speed=10.0"
;!!ms mouse rolly thing

; Joystick bindings.
Bind JoyX     "Axis AXIS_BaseX"
Bind JoyY     "Axis AXIS_BaseY"
;!!joyz
;!!joybuttons

; Axis movements.
Bind W        "Axis AXIS_BaseY  Speed=+300.0"
Bind S        "Axis AXIS_BaseY  Speed=-300.0"
Bind Left     "Axis AXIS_BaseX  Speed=-150.0"
Bind Right    "Axis AXIS_BaseX  Speed=+150.0"
Bind D        "Axis AXIS_Strafe Speed=+300.0"
Bind A        "Axis AXIS_Strafe Speed=-300.0"

Bind Delete   "Axis AXIS_LookUp Speed=-100.0"
Bind PageDown "Axis AXIS_LookUp Speed=+100.0"
;Bind End !!snap back

; Buttons.
Bind Ctrl     "Toggle BUT_Look"
Bind Alt      "Button BUT_Strafe"
Bind C        "Button BUT_Duck"
Bind Home     "Button BUT_Zoom"
Bind \        "Button BUT_LookAround"
Bind Shift    "Button BUT_Run"

; Server commands.
Bind 1        "Server Weapon F=1"
Bind 2        "Server Weapon F=2"
Bind 3        "Server Weapon F=3"
Bind 4        "Server Weapon F=4"
Bind 5        "Server Weapon F=5"
Bind 6        "Server Weapon F=6"
Bind 7        "Server Weapon F=7"
Bind 8        "Server Weapon F=8"
Bind 9        "Server Weapon F=9"
Bind [        "Server PrevWeapon"
Bind ]        "Server NextWeapon"
Bind ";"      "Server PrevItem"
Bind "'"      "Server NextItem"
Bind Enter    "Server ActivateItem"
Bind Space    "Button BUT_Jump | Server Jump"
Bind Pause    "Server Pause"

; Toggles.
Bind CapsLock "Toggle BUT_Look"

; Utility keys.
Bind F11      "Brightness"
Bind -        "ViewDown"
Bind =        "ViewUp"
Bind Tab      "Type"
Bind F12      "EndFullscreen"

;;;;;;;
; End ;
;;;;;;;
