Is there any way that I can get keyboard keys status (esp. for games) in Mac using only Mono C#?
I am looking for purely C# based solution, not any other API. Is there any support like this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, I found myself in the same situation and you either have to use the Control class under System.Windows.Forms, or follow the instructions of this solution and adapt it to the C# world
I was particularly interested in the caps key, so I did:
Hope this helps!