Why won't Keyboard.IsKeyDown work?
I was trying to use Keyboard.IsKeyDown
to detect keys and it says keyboard doesn't exist despite my having using System.Windows.Input
. Why is this/ what could I do to fix this?
Voters
I was trying to use Keyboard.IsKeyDown
to detect keys and it says keyboard doesn't exist despite my having using System.Windows.Input
. Why is this/ what could I do to fix this?
I think it's because its a windows-only dll?
We use
Console.ReadKey()
around here.w
ors
?if you have a windows computer, try using .NET
@SamuelBlick