You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This simple example assists you to understand how to get the keyboard information as well as mouse events.
Cite As
Fu-Sung Wang (2026). Get Keyboard Information (https://au.mathworks.com/matlabcentral/fileexchange/6605-get-keyboard-information), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: An Interactive Game Program
General Information
- Version 1.0.0.0 (74.5 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | In last version I use "get(gcf, 'CurrentCharacter')" to catch the information; However, this is limited to numerals or alphabets. So a more generalized method is presented. keyinfo.dll, which can catch all the keyboard information and mouse events. |
