Move keybinds OUT of the engine.

This commit is contained in:
Pieter-Jan Briers
2019-04-06 18:06:24 +02:00
parent a890957d30
commit 42e883c097
2 changed files with 1 additions and 48 deletions

View File

@@ -1,46 +0,0 @@
version: 1 # Not used right now, whatever.
binds:
- function: ShowDebugMonitors
key: F3
type: Toggle
- function: HideUI
key: F4
type: Toggle
- function: MoveUp
key: W
type: State
- function: MoveLeft
key: A
type: State
- function: MoveRight
key: D
type: State
- function: MoveDown
key: S
type: State
- function: Run
key: Shift
type: State
- function: ShowEscapeMenu
key: Escape
type: State
- function: FocusChatWindow
key: T
type: State
- function: EditorLinePlace
key: MouseLeft
mod1: Shift
type: State
- function: EditorGridPlace
key: MouseLeft
mod1: Control
type: State
- function: EditorPlaceObject
key: MouseLeft
type: State
- function: EditorCancelPlace
key: MouseRight
type: State
- function: EditorRotateObject
key: MouseMiddle
type: State

View File

@@ -54,8 +54,7 @@ namespace SS14.Client.Input
Contexts.ContextChanged += OnContextChanged;
LoadKeyFile(new ResourcePath("/keybinds.yml"));
var path = new ResourcePath("/keybinds_content.yml");
var path = new ResourcePath("/keybinds.yml");
if (_resourceMan.ContentFileExists(path))
{
LoadKeyFile(path);