Get Keyboard Information

版本 1.0.0.0 (74.5 KB) 作者: Fu-Sung Wang
Keyboard information, mouse events
4.9K 次下载
更新时间 2005/5/16

无许可证

This simple example assists you to understand how to get the keyboard information as well as mouse events.

引用格式

Fu-Sung Wang (2024). Get Keyboard Information (https://www.mathworks.com/matlabcentral/fileexchange/6605-get-keyboard-information), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Just for fun 的更多信息
致谢

启发作品: An Interactive Game Program

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
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.