KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to check if the user pressed down the Shift key when the program starts. (That means, press down the Shift key before the program is started) It's a simple console program, nothing related to X. This maybe similar to the Win32 GetKeyboardState() function. I want to know whether I can do this and how, but not any pros and cons with accessing the terminal directly.
Tags (comma-separated)
Save Edits
Cancel