Get Keyboard Information

Keyboard information, mouse events

Download
Download

You are now following this Submission

Cite As

Fu-Sung Wang (2026). Get Keyboard Information (https://in.mathworks.com/matlabcentral/fileexchange/6605-get-keyboard-information), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: An Interactive Game Program

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.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.

Download