Get Keyboard Information

Keyboard information, mouse events

您现在正在关注此提交

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

引用格式

Fu-Sung Wang (2026). Get Keyboard Information (https://ww2.mathworks.cn/matlabcentral/fileexchange/6605-get-keyboard-information), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: An Interactive Game Program

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 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.