简体   繁体   中英

How to check if a key was pressed in Cosmos c#

我正在使用Cosmos C#创建一个操作系统,并且即使在图形模式下,如何检查是否按了A,CTRL,SHIFT,F1等键?

Console.ReadKey should work.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM