onetwothreegone's picture

Keyboard IndexOutOfRange

When the following line is run: var KB = Keyboard.GetState();
The app crashes with a IndexOutOfRange! Any ideas?

Thanks,
Philip