File Exchange

image thumbnail

Get Keyboard Information

version 1.0.0.0 (74.5 KB) by Fu-Sung Wang
Keyboard information, mouse events

2 Downloads

Updated 16 May 2005

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 (2021). Get Keyboard Information (https://www.mathworks.com/matlabcentral/fileexchange/6605-get-keyboard-information), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

Caleb

The dll is working great on a school computer running 2008a, when I take it to another computer running 2008b it cannot find it. This is the same code running from the same jump drive, does anyone have suggestions?
Thanks

yu wei

thank you.I think it is useful.

M. Ayres

Excellent. Nice to be able to check for user input without implementing a full-blown gui.

Lucas Gabutti

Great job Fu-Sung Wang!!
Your code is pretty useful for me.
I've spent a lot of time looking for a function similar to "KBHit" for Matlab.

Luigi Tenneriello

Very useful routine, partly running also on previous Matlab versions.

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
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!