Reads keyboard and mouse. Gamepads & Joysticks are in TVGameController
VB6
' TV Variables. Public Inp As TVInputEngine ' Input has an additional init method to call. Set Inp = New TVInputEngine ' Lets init both keyboard and mouse: Call Inp.Initialize(True, True)
VB.NET
' TV Variables Public Inp As TVInputEngine ' Declare new TVInputEngine Object Inp = New TVInputEngine
Delphi
//todo
C#
// Declare the TV Objects. public TVInputEngine Input; // Create any other components after TV init. Input = new TVInputEngine();
C++
//todo
Remember to initialize before using!
| Method | Description |
|---|---|
| ClearKeyBuffer | Short description of ClearKeyBuffer |
| EnableWindowsKey | Short description of EnableWindowsKey |
| ForceUpdate | Short description of ForceUpdate |
| GetAbsMouseState | Short description of GetAbsMouseState |
| GetASCIIFromKey | Short description of GetASCIIFromKey |
| GetControllers | Short description of GetControllers |
| GetIndex | Short description of GetIndex |
| GetKeyBuffer | Short description of GetKeyBuffer |
| GetKeyPressedArray | Short description of GetKeyPressedArray |
| GetMousePosition | Short description of GetMousePosition |
| GetMouseState | Short description of GetMouseState |
| Initialize | Short description of Initialize |
| IsKeyPressed | Tells if the specified key is currently pressed or not. |
| IsMouseButtonPressed | Short description of IsMouseButtonPressed |
| SetIndex | Short description of SetIndex |
| SetMousePosition | Short description of SetMousePosition |
| SetMouseSensitivity | Short description of SetMouseSensitivity |
| SetRepetitionDelay | Short description of SetRepetitionDelay |