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

Commit

Permalink
Added KeyboardDevice 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 35c57c5 commit c689767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions craftersmine.EtherEngine.Rendering/Window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using craftersmine.EtherEngine.Input;
using craftersmine.EtherEngine.Utilities;
using OpenTK;

Expand Down Expand Up @@ -82,6 +83,7 @@ public Window(string title, WindowSize windowSize, bool isFullscreen)
fpsBounds = new Rectangle(WindowSize.Width - 30, 0, 30, 30);

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

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

0 comments on commit c689767

Please sign in to comment.