2

I am creating an operating system using Cosmos C# and how would I check if a key was pressed like A, CTRL, SHIFT, F1, etc. even in graphics mode?

1 Answers1

3

Console.ReadKey should work.

Also, you can ask for help in the gitter chat (https://gitter.im/CosmosOS/Cosmos), usually it's faster.

José Pedro
  • 1,097
  • 3
  • 14
  • 24