Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
Added MouseDevice link to Input library
Browse files Browse the repository at this point in the history
  • Loading branch information
craftersmine committed Feb 27, 2019
1 parent 881a0f3 commit cc2780a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions craftersmine.EtherEngine.Rendering/Window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public Window(string title, WindowSize windowSize, bool isFullscreen)

_gameWnd.Load += _gameWnd_Load;
Keyboard.KeyboardDevice = _gameWnd.Keyboard;
Mouse.MouseDevice = _gameWnd.Mouse;
}

private void _gameWnd_Load(object sender, EventArgs e)
Expand Down

0 comments on commit cc2780a

Please sign in to comment.