Get Keyboard Information
No License
This simple example assists you to understand how to get the keyboard information as well as mouse events.
Cite As
Fu-Sung Wang (2024). Get Keyboard Information (https://www.mathworks.com/matlabcentral/fileexchange/6605-get-keyboard-information), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Gaming > Just for fun >
- MATLAB > Environment and Settings > Desktop >
Tags
Acknowledgements
Inspired: An Interactive Game Program
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
keyboardInfo2/
Version | Published | Release Notes | |
---|---|---|---|
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. |