|
|
| long KeyGet |
( |
long |
milliseconds | ) |
|
- Description:
- KeyGet returns the value of the key pressed.
- Parameters:
-
| milliseconds | The number of milliseconds to wait for the key to be pressed.
Use RSIWaitFOREVER (-1) to wait forever.
Use RSIWaitPOLL (0) to return immediately. |
- Returns:
- (long) -1 = no key was pressed, or value of ASCII character.
- Sample Code:
-
- Examples:
- controllerInterrupts.cpp, custom97.cpp, driveMonitor.cpp, motorfeedback.cpp, multiaxisMotion.cpp, sequencerDigitalOutput.cpp, syncInterrupt.cpp, userLimitDigitalInputAction.cpp, userLimitStateAction.cpp, and watchdog.cpp.
|