Get Keyboard Information

Keyboard information, mouse events

Al momento, stai seguendo questo contributo

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

Cita come

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

Riconoscimenti

Ispirato: An Interactive Game Program

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release 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.